Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison vutilities.c @ 201:0320b49ca013
New include paths because of new project structure
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 13 Feb 2012 19:35:32 +0100 |
| parents | 13b22ffb8a2f |
| children |
comparison
equal
deleted
inserted
replaced
| 0:a44ea8d7bc40 | 4:2da62c0e9237 |
|---|---|
| 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 } |
