Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

vp_utils.c File Reference


Functions

char * strduplicate (char *origin)
 Duplicate a string.

int minus (int a, int b)
 The minor function.


Function Documentation

int minus int  a,
int  b
 

The minor function.

This function is required for a compatibilty problem of the minor template between win32 and linux.

Parameters:
a an integer
b another integer
Returns:
the minor integer between a and b.

char* strduplicate char *  origin  ) 
 

Duplicate a string.

Equivalent to strdup, but not specific for BSD or SVID.

Parameters:
origin the string to duplicate.
Returns:
the duplicate of the given string.


SourceForge.net Logo

Generated on Mon Jun 14 17:25:56 2004 for D.R.I.V.E. by doxygen 1.3.7