STR$APPEND (OpenVMS) STR$APPEND (OpenVMS)
NAME
strcat - append a string to another
strncat - append a string to another
STR$APPEND - Append a string
EXPLAINATION
The Digital UNIX strcat function covers the same functionality as the
OpenVMS STR$APPEND string manipulation routine. The strcat function
takes two strings as arguments and appends the second string to the
first. The first string must be large enough to accommodate both the
first string and the second string AND a nul terminator. The strncat
function takes an additional argument, the number of bytes of the sec‐
ond string to append to the first. If the second string is shorter
than this number, the full length of the second string is appended to
the first. The strcat family of functions can only concatenate two
strings at a time. It is possible to use the sprintf function to con‐
catenate any number of strings at a time by specifying a %s for each
string to be concatenated. The resulting string will be located in the
buffer pointed to by sprintf's first argument.
RELATED INFORMATION
Digital UNIX Functions:
strcat(3), strncat(3), sprintf(3) delim off
STR$APPEND (OpenVMS)