comparison vutilities.c @ 65:13b22ffb8a2f

Nov 14 vers -- Added measurement of Plugin, malloc, & master lock, + vutilities
author Me
date Sun, 14 Nov 2010 11:17:52 -0800
parents
children a9b72021f053 c1784868dcea 0320b49ca013
comparison
equal deleted inserted replaced
-1:000000000000 0:a44ea8d7bc40
1 /*
2 * Copyright 2009 OpenSourceCodeStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * Author: seanhalle@yahoo.com
6 *
7 * Created on November 14, 2009, 9:07 PM
8 */
9
10 #include <malloc.h>
11 #include <stdlib.h>
12
13 #include "VMS.h"
14
15
16 inline char *
17 VMS__strDup( char *str )
18 { char *retStr;
19
20 retStr = VMS__malloc( strlen(str) + 1 );
21 if( str == NULL ) return str;
22 strcpy( retStr, str );
23
24 return retStr;
25 }