mirror of /home/gitosis/repositories/libowfat.git
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.
21 lines
500 B
21 lines
500 B
.TH array_fail 3 |
|
.SH NAME |
|
array_fail \- switch array to have failed |
|
.SH SYNTAX |
|
.B #include <array.h> |
|
|
|
void \fBarray_fail\fP(array* \fIx\fR); |
|
|
|
array \fIx\fR; |
|
array_fail(&\fIx\fR); |
|
|
|
.SH DESCRIPTION |
|
If \fIx\fR is allocated, array_fail frees the region that \fIx\fR points |
|
to, and switches \fIx\fR to have failed. |
|
|
|
If \fIx\fR is unallocated, array_fail simply switches \fIx\fR to have |
|
failed. |
|
|
|
If \fIx\fR has already failed, array_fail has no effect. |
|
.SH "SEE ALSO" |
|
array_allocate(3), array_reset(3)
|
|
|