source: trunk/libs/newlib/src/newlib/libc/string/strdup.c @ 567

Last change on this file since 567 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 178 bytes
Line 
1#ifndef _REENT_ONLY
2
3#include <reent.h>
4#include <stdlib.h>
5#include <string.h>
6
7char *
8strdup (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.