home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
nn.tar
/
nn-6.5.1
/
contrib
/
nnsub
/
strsave.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-29
|
145b
|
11 lines
extern char *malloc();
char *strsave(s)
char *s;
{
char *result;
result= malloc(strlen(s)+1);
strcpy(result,s);
return(result);
} /* strsave */