repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
string
/
strdup.c
blob
3f2a0264c789df5b202c2efaf02942af5c3d129c
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 */