Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->strncpy()
Summary
#include <string.h>
| char *strncpy(char* string1, const char* string2, size_r n); | Copy one string to another |
| string1 | Destination string |
| string2 | Source string |
| n | Number of characters to be copied |