SALLOC

Section: C Library Functions (3)
Updated: 4/8/86
Index Return to Main Contents
 

NAME

salloc - allocate and copy string  

SYNOPSIS

char *salloc (original)
char *original;  

DESCRIPTION

Salloc will create a copy of a string by allocating a new block of storage, copying the argument into the new block, and returning a pointer to the new string.  

SEE ALSO

malloc(3), string(3)  

DIAGNOSTICS

Returns 0 if the malloc fails (not enough storage available).  

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
DIAGNOSTICS
BUGS

This document was created by man2html, using the manual pages.
Time: 12:50:29 GMT, May 26, 2025