STD_CopyLString

Syntax

#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 copy target string pointer.

Description

Copies a maximum of (siz-1) characters from the srcp string to the destp string. It carries out the same operation as the C standard function strlcpy.

The STD_StrLCpy function is defined as another name for STD_CopyLString.

See Also

STD_CopyString
STD_CopyLStringZeroFill

Revision History

2006/06/06 Changed function specifications to conform to the strlcpy function.
2006/05/15 Revised Description.
2005/10/5 Initial version.


CONFIDENTIAL