linux-scalability-benchmarks / libowfat / array / array_cat.3

The default branch has multiple heads

.TH array_cat 3
.SH NAME
array_cat \- append one array to another
.SH SYNTAX
.B #include <array.h>

void \fBarray_cat\fP(array* \fIx\fR,array* \fIy\fR);

  array \fIx\fR;
  array \fIy\fR;
  array_cat(&\fIx\fR,&\fIy\fR);

.SH DESCRIPTION
array_cat appends \fIy\fR to \fIx\fR; i.e., it changes \fIx\fR,
allocating more space if necessary, so that the initialized bytes in
\fIx\fR are the previously initialized bytes in \fIx\fR followed by a
copy of the initialized bytes in \fIy\fR.

If \fIx\fR has failed, array_cat has no effect.

If \fIy\fR has failed, array_cat switches \fIx\fR to have failed.

If not enough memory is available, array_cat switches \fIx\fR to have failed.
.SH "SEE ALSO"
array_allocate(3), array_get(3), array_fail(3), array_reset(3),
array_catb(3), array_cats(3), array_cats0(3), array_cate(3)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.