projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
2000-05-29 Philip Blundell <philb@gnu.org>
[deliverable/binutils-gdb.git]
/
libiberty
/
strdup.c
1
char
*
2
strdup
(
s
)
3
char
*
s
;
4
{
5
char
*
result
= (
char
*)
malloc
(
strlen
(
s
) +
1
);
6
if
(
result
== (
char
*)
0
)
7
return
(
char
*)
0
;
8
strcpy
(
result
,
s
);
9
return
result
;
10
}
This page took
0.029272 seconds
and
4
git commands to generate.