PSTR stStrNCpy( PSTR dest, const PSTR src, SIZE maxlen );
Address of the destination string.
Address of the source string.
Maximum number of bytes to copy.
Address of the destination string, containing the copied data.
This function copies a maximum of maxlen characters from the source string into the
destination string, overwriting the previous string.
If functions for basic string operations are inactive in the alternative C library (by setting
ST_USE_STRING_CLIB to 1), a macro named stStrNCpy will be created that calls the strncpy
function from the standard C library.
| Version: | 1.0 |
|---|---|
| Header file: | ST_CLIB.h (include ST_API.h) |
| See also: | PSTR, SIZE, ST_USE_STRING_CLIB |