STRNCPY
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
strncpy - Copy a length-limited, NUL-terminated string
SYNOPSIS
"SYNOPSIS"
char * strncpy (char * dest, const char * src, size_t n);
ARGUMENTS
- dest
-
Where to copy the string to
- src
-
Where to copy the string from
- n
-
The maximum number of bytes to copy
DESCRIPTION
The result is not NUL-terminated if the source exceeds
n bytes.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:53 GMT, October 09, 2005