STRSAVE(5)

Table of Contents

Name

strsave copies a string
strconcat concatenates two strings

Synopsis

STRING strsave(string)
STRING string;
STRING strconcat(string1, string2)
STRING string1;
STRING string2;

Description

These two components of the run-time library provide two basic string operations. The strsave function copies a string into newly allocated memory and returns the new string.

The strconcat function allocates space to store the concatenation of the two string arguments, then concatenates the two arguments into the space, and finally returns the new string.

See Also

ALLOC(5)
CAPITALIZE(5)
TEXT2CSTR(5)


© 1990 Lucent Technologies, Inc
© 1998 Harmony Software, Inc