

#include <nitro/std.h>
int STD_CopyLStringZeroFill( char* destp, const char* srcp, int n );
| destp | Pointer to a copy destination. |
| srcp | Pointer to the copy source. |
| n | Size of the write buffer of the copy destination. |
Returns the copy target string pointer.
Copies (n-1) characters from the string srcp to the string destp.
You must designate a value lower than or equal to the buffer size of the copy destination in the argument n.
The STD_CopyLStringZeroFill function fills the remainder with a zero when the copy source buffer size is smaller than the size to be copied.
A NULL will always be copied to the end of the copy destination string.
Caution: This function name includes an 'L', but it behaves differently from the standard strlcpy function. The same behavior as the strlcpy function is provided by the STD_CopyLString function.
STD_CopyString
STD_CopyLString
2006/06/06 Migrated from the old STD_CopyLString.
CONFIDENTIAL