strsave man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

strsave(l)			BEGEMOT Library			    strsave(l)

NAME
       strsave, xstrsave - return a fresh copy of a string

SYNOPSIS
       # include <begemot.h>

       char * strsave(const char *str);

       char * xstrsave(const char *str);

DESCRIPTION
       These  functions	 copy  the  argument string str into a new memory area
       obtained from malloc(3C).  xstrsave(l) calls xalloc(l), so the  program
       exits with a fatal error message if malloc(3C) fails.

RETURN VALUE
       strsave(l)  returns  a  pointer to the new string or NULL if malloc(3C)
       has failed.  xstrsave(l) never returns NULL.

SEE ALSO
       malloc(3C), xalloc(l)

BEGEMOT				  5 June 1996			    strsave(l)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net