source: icGREP/icgrep-devel/cudd-2.5.1/util/strsav.c @ 5820

Last change on this file since 5820 was 4597, checked in by nmedfort, 4 years ago

Upload of the CUDD library.

File size: 194 bytes
Line 
1/* LINTLIBRARY */
2
3#include <stdio.h>
4#include "util.h"
5
6
7/*
8 *  util_strsav -- save a copy of a string
9 */
10char *
11util_strsav(char const *s)
12{
13    return strcpy(ALLOC(char, strlen(s)+1), s);
14}
Note: See TracBrowser for help on using the repository browser.