OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pf3gnuchains/pf3gnuchains4x.git]
/
newlib
/
libc
/
stdlib
/
strdup.c
1
#ifndef _REENT_ONLY
2
3
#include <reent.h>
4
#include <stdlib.h>
5
#include <string.h>
6
7
char *
8
_DEFUN (strdup, (str), _CONST char *str)
9
{
10
return _strdup_r (_REENT, str);
11
}
12
13
#endif /* !_REENT_ONLY */