STRNCPY
Section: ()
Updated: 06 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 count);
ARGUMENTS
- dest
-
Where to copy the string to
- src
-
Where to copy the string from
- count
-
The maximum number of bytes to copy
DESCRIPTION
Note that unlike userspace strncpy, this does not NUL-pad the buffer.
However, the result is not NUL-terminated if the source exceeds
count bytes.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 07:07:30 GMT, October 06, 2005