Name
strncat —
Append a length-limited, C-string to another
Synopsis
char * strncat ( | char * dest, |
| const char * src, |
| size_t count) ; |
Arguments
char * dest
The string to be appended to
const char * src
The string to append to it
size_t count
The maximum numbers of bytes to copy
Description
Note that in contrast to strncpy
, strncat
ensures the result is
terminated.