#include <nitro/std.h>
int STD_CopyLString( char* destp, const char* srcp, int siz );
int STD_StrLCpy( char* destp, const char* srcp, int siz );
destp | Pointer to a copy destination. |
srcp | Pointer to the copy source. |
siz | Size of the write buffer of the copy destination. |
Returns the character string length of the copy source.
Copies a maximum of (siz - 1
) characters from the srcp
string to the destp
string. This function operates in the same way as the general strlcpy()
function.
STD_StrLCpy()
is defined as another name for STD_CopyLString()
.
STD_CopyString,STD_CopyLStringZeroFill
06/06/2006 Changed the function specification so that it conforms to strlcpy()
.
05/15/2006 Revised the description.
10/05/2005 Initial version.
CONFIDENTIAL