# 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 | Specifies the copy destination pointer.
srcp | Specifies the copy source pointer.
siz | Designates the write buffer size of the copy destination.

## Return Values

Returns the character string length of the copy source.

## Description

Copies a maximum of (n-1) characters from string srcp to string destp. This function operates in the same way as the general function strlcpy().

`STD_StrLCpy()` is defined as another name for `STD_CopyLString()`.

## See Also

`STD_CopyString,STD_CopyLStringZeroFill`

## Revision History

06/06/2006 Made changes to the function specification so that it conforms to strlcpy()
05/15/2006 Revised the description
10/05/2005 Initial version

CONFIDENTIAL