Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
520 B

13 years ago
.TH iarray_init 3
iarray_init \- initialize iarray data structure
.B #include <libowfat/iarray.h>
13 years ago
void \fBiarray_init\fP(array* \fIx\fR, size_t \fIelemsize\fR);
iarray \fIx\fR;
int64 \fIpos\fR;
\fIt\fR* p = iarray_init(&\fIx\fR,sizeof(\fIelement\fR));
iarray_init initializes an iarray so that it can hold elements of size
\fIelemsize\fR. iarray_init does not actually allocate anything, so it
can not fail.
iarray_allocate(3), iarray_get(3), iarray_free(3)