-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_Strdup
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Duplicate a string.
char *MTY_Strdup(
const char * str
);
str
(const char *
)
String to duplicate.
char *
This function can not return NULL
. It will call abort()
on failure.
The returned buffer must be destroyed with MTY_Free
.