Open topic with navigation
|Example: strncpy||String Manipulation Functions|
Copies the first n characters of one string to another.
char *strncpy( char *dest, const char *source, size_t n );
|dest||The destination string to which n characters are copied.|
|source||The source string from which n characters are copied.|
|n||The number of characters copied.|
Returns the destination string.