GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
strsave(l) BEGEMOT Library strsave(l)

strsave, xstrsave - return a fresh copy of a string

# include <begemot.h>
char * strsave(const char *str);
char * xstrsave(const char *str);

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.

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

malloc(3C), xalloc(l)
5 June 1996 BEGEMOT

Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.