libcfe  0.12.1
some useful C-functions
ustrncpy.h File Reference
#include <stdlib.h>
Include dependency graph for ustrncpy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t ustrncpy (unsigned char *dest, const char *src, size_t n)
 

Function Documentation

◆ ustrncpy()

size_t ustrncpy ( unsigned char *  dest,
const char *  src,
size_t  n 
)

Copy n characters of a string to a new unsigned string.

Parameters
[in,out]destPointer to an allocated place to hold the string.
[in]srcPointer to the original string.
[in]nNumber of characters to copy.
Returns
Number of characters copied.

Definition at line 4 of file ustrncpy.c.