☰
Debian Codegraph
@
1:804.036+git20260828+dfsg-1
1:804.036+dfsg1-7
1:804.036+dfsg1-6
/
/
pTk
/
strdup.c
☽
☼
pTk/strdup.c
code
plain
raw
symbols
SCIP
A-special-License
and
Tix-License
or
pTk-License
1995-1996 Nick Ing-Simmons; 1993-95 Ioi Kim Lam; 1996 Expert Interface Technologies
debian/copyright
1
#include
"tkPort.h"
2
char
*
3
strdup
(
s
)
4
const char *s;
5
{
6
char
*p = (
char
*)
malloc
(
strlen
(s)+
1
);
7
if
(p)
8
strcpy
(p,s);
9
return
p;
10
}
11