annotate vutilities.c @ 205:cb888346c3e0

Changed include paths, but version still does not work because of accidental merge
author Merten Sach <msach@mailbox.tu-berlin.de>
date Fri, 17 Feb 2012 18:28:59 +0100
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 }