Me@65: /* Me@65: * Copyright 2009 OpenSourceCodeStewardshipFoundation.org Me@65: * Licensed under GNU General Public License version 2 Me@65: * Me@65: * Author: seanhalle@yahoo.com Me@65: * Me@65: * Created on November 14, 2009, 9:07 PM Me@65: */ Me@65: Me@65: #include Me@65: #include Me@65: Me@65: #include "VMS.h" Me@65: Me@65: Me@65: inline char * Me@65: VMS__strDup( char *str ) Me@65: { char *retStr; Me@65: Me@65: retStr = VMS__malloc( strlen(str) + 1 ); Me@65: if( str == NULL ) return str; Me@65: strcpy( retStr, str ); Me@65: Me@65: return retStr; Me@65: }