|
Embedded Artistry Framework
Embedded Systems C++ Framework
|

Functions | |
| char * | strdup (const char *str) |
| Duplicate the passed in string str. More... | |
| char* strdup | ( | const char * | str | ) |
Duplicate the passed in string str.
Returns a pointer to a new string which is a duplicate of the string str. Memory for the new string is obtained with malloc(3), and can be freed with free(3).
| str | a pointer to a string to duplicate |
References malloc(), memcpy(), NULL, and strlen().
Referenced by strdup_test().

1.8.15