|
Embedded Artistry Framework
Embedded Systems C++ Framework
|

Functions | |
| char * | strndup (const char *str, size_t n) |
| Duplicate n bytes of the passed in string str. More... | |
| char* strndup | ( | const char * | str, |
| size_t | n | ||
| ) |
Duplicate n bytes of the passed in string str.
strndup is similar to
| str | a pointer to a string to duplicate |
| n | maximum number of bytes to copy |
References malloc(), memcpy(), n, and NULL.
Referenced by strndup_test().

1.8.15