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


Manual Reference Pages  -  STRSAVE (l)

NAME

strsave, xstrsave - return a fresh copy of a string

CONTENTS

Synopsis
Description

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)
Search for    or go to Top of page |  Section l |  Main Index


BEGEMOT STRSAVE (l) 5 June 1996

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