aboutsummaryrefslogtreecommitdiffstats
path: root/man/libsimple_unlist.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-07 22:18:04 +0100
committerMattias Andrée <maandree@kth.se>2018-11-07 22:18:04 +0100
commit9fc2b129167e1f2a16d942369f057f618a00d81c (patch)
treec15d15d8afc525a423ce0d43d95f676e6e5a2541 /man/libsimple_unlist.3
parentAdd arrayalloc man page (diff)
downloadlibsimple-9fc2b129167e1f2a16d942369f057f618a00d81c.tar.gz
libsimple-9fc2b129167e1f2a16d942369f057f618a00d81c.tar.bz2
libsimple-9fc2b129167e1f2a16d942369f057f618a00d81c.tar.xz
Move section 3 man pages to man3/ and add libsimple.h.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/libsimple_unlist.3')
-rw-r--r--man/libsimple_unlist.398
1 files changed, 0 insertions, 98 deletions
diff --git a/man/libsimple_unlist.3 b/man/libsimple_unlist.3
deleted file mode 100644
index 5be3858..0000000
--- a/man/libsimple_unlist.3
+++ /dev/null
@@ -1,98 +0,0 @@
-.TH LIBSIMPLE_UNLIST 3 2018-11-05 libsimple
-.SH NAME
-libsimple_unlist \- remove item for array and keep order
-.SH SYNOPSIS
-.nf
-#include <libsimple.h>
-
-void libsimple_unlist(void *\fIlist\fP, size_t \fIi\fP, size_t *\fInp\fP, size_t \fIwidth\fP);
-void LIBSIMPLE_UNLIST(\fItype\fP *\fIlist\fP, size_t \fIi\fP, size_t *\fInp\fP);
-
-#ifndef unlist
-# define unlist libsimple_unlist
-#endif
-#ifndef UNLIST
-# define UNLIST LIBSIMPLE_UNLIST
-#endif
-.fi
-.PP
-Link with
-.IR \-lsimple .
-.SH DESCRIPTION
-The
-.BR libsimple_unlist ()
-function removes the
-.IR i th
-element from
-.IR list ,
-and pushes up all following elements one step, so
-next element take the removed elements position. The
-.I width
-parameter shall be the size of each element, in bytes,
-.RI ( sizeof(*list)
-in all sane circumstances).
-.I np
-shall be a pointer to the number of elements stored in
-.IR list ,
-.I *np
-will be set to
-.IR *np-1 .
-The function assumes that
-.IR i<*np .
-.PP
-.BR LIBSIMPLE_UNLIST ()
-is a macro-wrapper for the
-.BR libsimple_unlist ()
-function which does not have the parameter
-.IR width ,
-instead it is inferred from the type of
-.IR list ;
-as such,
-.I type
-must be a complete, non-void type.
-.SH RETURN VALUE
-None.
-.SH ERRORS
-The
-.BR libsimple_unlist ()
-and
-.BR LIBSIMPLE_UNLIST ()
-functions cannot fail.
-.SH ATTRIBUTES
-For an explanation of the terms used in this section, see
-.BR attributes (7).
-.TS
-allbox;
-lb lb lb
-l l l.
-Interface Attribute Value
-T{
-.BR libsimple_unlist (),
-.br
-.BR LIBSIMPLE_UNLIST ()
-T} Thread safety MT-Safe
-T{
-.BR libsimple_unlist (),
-.br
-.BR LIBSIMPLE_UNLIST ()
-T} Async-signal safety AS-Safe
-T{
-.BR libsimple_unlist (),
-.br
-.BR LIBSIMPLE_UNLIST ()
-T} Async-cancel safety AC-Safe
-.TE
-.SH EXAMPLES
-None.
-.SH APPLICATION USAGE
-None.
-.SH RATIONALE
-None.
-.SH FUTURE DIRECTIONS
-None.
-.SH NOTES
-None.
-.SH BUGS
-None.
-.SH SEE ALSO
-.BR memmove (3)