STD_CopyLString

C Specification

#include <nitro/std.h>

int STD_CopyLString( char* destp, const char* srcp, int siz );
int STD_StrLCpy( char* destp, const char* srcp, int siz );

Arguments

destp Pointer to a copy destination.
srcp Pointer to the copy source.
siz Size of the write buffer of the copy destination.

Return Values

Returns the character string length of the copy source.

Description

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().

See Also

STD_CopyString,STD_CopyLStringZeroFill

Revision History

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