Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 2:84775ce41f75 | 3:4c51a705be35 |
|---|---|
| 12 | 12 |
| 13 #include "VMS.h" | 13 #include "VMS.h" |
| 14 | 14 |
| 15 | 15 |
| 16 inline char * | 16 inline char * |
| 17 VMS__strDup( char *str ) | 17 VMS_int__strDup( char *str ) |
| 18 { char *retStr; | 18 { char *retStr; |
| 19 | 19 |
| 20 retStr = VMS__malloc( strlen(str) + 1 ); | 20 retStr = VMS_int__malloc( strlen(str) + 1 ); |
| 21 if( str == NULL ) return str; | 21 if( str == NULL ) return str; |
| 22 strcpy( retStr, str ); | 22 strcpy( retStr, str ); |
| 23 | 23 |
| 24 return retStr; | 24 return retStr; |
| 25 } | 25 } |
