repo.or.cz
/
cl-cudd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
emergency commit
[cl-cudd.git]
/
distr
/
util
/
strsav.c
blob
454e237c412f1718c6985285076046edf480b921
1
/* LINTLIBRARY */
2
3
#include <stdio.h>
4
#include
"util.h"
5
6
7
/*
8
* util_strsav -- save a copy of a string
9
*/
10
char
*
11
util_strsav
(
char const
*
s
)
12
{
13
return
strcpy
(
ALLOC
(
char
,
strlen
(
s
)+
1
),
s
);
14
}