source:
trunk/libs/newlib/src/newlib/libc/string/strdup.c
@
559
Last change on this file since 559 was 444, checked in by , 6 years ago | |
---|---|
File size: 178 bytes |
Line | |
---|---|
1 | #ifndef _REENT_ONLY |
2 | |
3 | #include <reent.h> |
4 | #include <stdlib.h> |
5 | #include <string.h> |
6 | |
7 | char * |
8 | strdup (const char *str) |
9 | { |
10 | return _strdup_r (_REENT, str); |
11 | } |
12 | |
13 | #endif /* !_REENT_ONLY */ |
Note: See TracBrowser
for help on using the repository browser.