.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "STRNCPY" "9" "09 October 2005" "" "" .SH NAME strncpy \- Copy a length-limited, NUL-terminated string .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp char * strncpy (char * \fIdest\fB, const char * \fIsrc\fB, size_t \fIn\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdest\fB\fR Where to copy the string to .TP \fB\fIsrc\fB\fR Where to copy the string from .TP \fB\fIn\fB\fR The maximum number of bytes to copy .SH "DESCRIPTION" .PP The result is not NUL-terminated if the source exceeds \fIn\fR bytes.