INtime SDK Help
strlcpy

Copies up to size-1 characters from string2 to string1.

#include <string.h>

size_t strlcpy (char *string1, const char *string2, size_t size);

Parameters

string1
Destination string.
string2
Source string.
size
The size of the destination buffer.

Remarks

Copies up to size-1 characters from string2 to string1, null-terminating the result.

Does not zero-fill the destination string.

The behavior of strlcpy is undefined if the address ranges of the source and destination strings overlap.

Return Values

The total length of the string created. For strlcat, that is simply the length of string2.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/string.h string.h clib.lib

See Also

strlcat, strcpy, strcat, strcmp, strncat, strncmp, strnicmp, strrchr, strset, strspn