annotate vutilities.c @ 200:6db9e4898978

VMS name chgs -- added "WL" "PI" and "int" and split vms.h up
author Me@portablequad
date Sun, 12 Feb 2012 01:49:33 -0800
parents c1784868dcea
children
rev   line source
Me@178 1 /*
Me@178 2 * Copyright 2009 OpenSourceCodeStewardshipFoundation.org
Me@178 3 * Licensed under GNU General Public License version 2
Me@178 4 *
Me@178 5 * Author: seanhalle@yahoo.com
Me@178 6 *
Me@178 7 * Created on November 14, 2009, 9:07 PM
Me@178 8 */
Me@178 9
Me@178 10 #include <malloc.h>
Me@178 11 #include <stdlib.h>
Me@178 12
Me@178 13 #include "VMS.h"
Me@178 14
Me@178 15
Me@178 16 inline char *
Me@200 17 VMS_int__strDup( char *str )
Me@178 18 { char *retStr;
Me@178 19
Me@200 20 retStr = VMS_int__malloc( strlen(str) + 1 );
Me@178 21 if( str == NULL ) return str;
Me@178 22 strcpy( retStr, str );
Me@178 23
Me@178 24 return retStr;
Me@178 25 }