1STRLCPY(9)                 Basic C Library Functions                STRLCPY(9)
2
3
4

NAME

6       strlcpy - Copy a NUL terminated string into a sized buffer
7

SYNOPSIS

9       size_t strlcpy(char * dest, const char * src, size_t size);
10

ARGUMENTS

12       dest
13           Where to copy the string to
14
15       src
16           Where to copy the string from
17
18       size
19           size of destination buffer
20

BSD

22       the result is always a valid NUL-terminated string that fits in the
23       buffer (unless, of course, the buffer size is zero). It does not pad
24       out the result like strncpy does.
25
27Kernel Hackers Manual 3.10         June 2019                        STRLCPY(9)
Impressum