#include char *malloc (); char * strsave ( s ) char *s; { char *p; p = malloc ( strlen ( s ) + 1 ); if ( p != NULL ) strcpy ( p , s ); return ( p ); }