aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_memsetelem.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-25 14:17:49 +0100
committerMattias Andrée <maandree@kth.se>2018-11-25 14:17:49 +0100
commite2dc7cf9c966d4c94b7556c1c2ada8d170715654 (patch)
tree78733ab53fb0e1d185773d23f0f5ccd373be2bc1 /man3/libsimple_memsetelem.3
parentAdd man pages (diff)
downloadlibsimple-e2dc7cf9c966d4c94b7556c1c2ada8d170715654.tar.gz
libsimple-e2dc7cf9c966d4c94b7556c1c2ada8d170715654.tar.bz2
libsimple-e2dc7cf9c966d4c94b7556c1c2ada8d170715654.tar.xz
Fix consistence in memelem functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/libsimple_memsetelem.3')
-rw-r--r--man3/libsimple_memsetelem.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/libsimple_memsetelem.3 b/man3/libsimple_memsetelem.3
index 516a20b..91e5b63 100644
--- a/man3/libsimple_memsetelem.3
+++ b/man3/libsimple_memsetelem.3
@@ -5,7 +5,7 @@ libsimple_memsetelem \- fill an array with a value
.nf
#include <libsimple.h>
-static inline void *libsimple_memsetelem(void *\fIbuf\fP, const void *\fIitem\fP, size_t \fIsize\fP, size_t \fInitems\fP);
+static inline void *libsimple_memsetelem(void *\fIbuf\fP, const void *\fIitem\fP, size_t \fIwidth\fP, size_t \fIn\fP);
#ifndef memsetelem
# define memsetelem libsimple_memsetelem
@@ -20,11 +20,11 @@ The
function fills the beginning of
.I buf
with
-.I nitems
+.I n
copies of the element
.I item
with the size
-.IR size .
+.IR width .
.SH RETURN VALUE
The
.BR libsimple_memsetelem ()