You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Manvendra Bhangui edited this page Feb 25, 2024
·
4 revisions
NAME
array_cat - append one array to another
SYNTAX
#include <array.h>
void array_cat(array* x,array* y);
array x; array y; array_cat(&x,&y);
DESCRIPTION
array_cat appends y to x; i.e., it changes x, allocating more
space if necessary, so that the initialized bytes in x are the
previously initialized bytes in x followed by a copy of the
initialized bytes in y.
If x has failed, array_cat has no effect.
If y has failed, array_cat switches x to have failed.
If not enough memory is available, array_cat switches x to have
failed.