Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / string / strdup.c
blob3f2a0264c789df5b202c2efaf02942af5c3d129c
1 #ifndef _REENT_ONLY
3 #include <reent.h>
4 #include <stdlib.h>
5 #include <string.h>
7 char *
8 strdup (const char *str)
10 return _strdup_r (_REENT, str);
13 #endif /* !_REENT_ONLY */