String Functions: <b>string.h</b>




Document: The C Standard Library

next char *strcpy(char *schar *t)
up The C Standard Library
gif Character Class Tests: ctype.h

String Functions: string.h

string.h provides prototypes for a wide range of functions which operate upon strings in various ways. A brief description of a small sample of these follows. Note that where one of these functions potentially modifies a string, it might, in general, make it longer; therefore in passing in a pointer to the string which will be modified, you must make sure that the char array holding this string is big enough to hold the longest possible string (including the nul terminator) which might conceivably result from the string operation(s). If you fail to watch out for this the results will generally be unpredictable - and definitely not very pleasant.






Document: The C Standard Library

next char *strcpy(char *schar *t)
up The C Standard Library
gif Character Class Tests: ctype.h



McMullin@eeng.dcu.ie
Fri Mar 29 14:35:38 GMT 1996