| The Linux Kernel API | ||
|---|---|---|
| <<< Previous | Next >>> | |
Where to copy the string to
Where to copy the string from
size of destination buffer
the result is always a valid NUL-terminated string that fits in the buffer (unless, of course, the buffer size is zero). It does not pad out the result like strncpy does.
| <<< Previous | Home | Next >>> |
| strncpy | Up | strcat |