annotate vutilities.c @ 206:a262abf4b8d5

brch file for new WestmereEx 4x10 HW Branch
author Merten Sach <msach@mailbox.tu-berlin.de>
date Fri, 17 Feb 2012 18:43:52 +0100
parents 13b22ffb8a2f
children
rev   line source
Me@65 1 /*
Me@65 2 * Copyright 2009 OpenSourceCodeStewardshipFoundation.org
Me@65 3 * Licensed under GNU General Public License version 2
Me@65 4 *
Me@65 5 * Author: seanhalle@yahoo.com
Me@65 6 *
Me@65 7 * Created on November 14, 2009, 9:07 PM
Me@65 8 */
Me@65 9
Me@65 10 #include <malloc.h>
Me@65 11 #include <stdlib.h>
Me@65 12
Me@65 13 #include "VMS.h"
Me@65 14
Me@65 15
Me@65 16 inline char *
msach@201 17 VMS_int__strDup( char *str )
Me@65 18 { char *retStr;
Me@65 19
msach@201 20 retStr = VMS_int__malloc( strlen(str) + 1 );
Me@65 21 if( str == NULL ) return str;
Me@65 22 strcpy( retStr, str );
Me@65 23
Me@65 24 return retStr;
Me@65 25 }