.\" 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 "STRNCAT" "9" "09 October 2005" "" ""
.SH NAME
strncat \- Append a length-limited, NUL-terminated string to another
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
char * strncat (char * \fIdest\fB, const char * \fIsrc\fB, size_t \fIn\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdest\fB\fR
The string to be appended to
.TP
\fB\fIsrc\fB\fR
The string to append to it
.TP
\fB\fIn\fB\fR
The maximum numbers of bytes to copy
.SH "DESCRIPTION"
.PP
returns a pointer to \fIdest\fR
.PP
Note that in contrast to strncpy, strncat ensures the result is
terminated.