diff options
author | Mattias Andrée <maandree@kth.se> | 2018-11-25 14:17:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-11-25 14:17:49 +0100 |
commit | e2dc7cf9c966d4c94b7556c1c2ada8d170715654 (patch) | |
tree | 78733ab53fb0e1d185773d23f0f5ccd373be2bc1 /man3/libsimple_mempsetelem.3 | |
parent | Add man pages (diff) | |
download | libsimple-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_mempsetelem.3')
-rw-r--r-- | man3/libsimple_mempsetelem.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/libsimple_mempsetelem.3 b/man3/libsimple_mempsetelem.3 index 0b32228..e10a252 100644 --- a/man3/libsimple_mempsetelem.3 +++ b/man3/libsimple_mempsetelem.3 @@ -5,7 +5,7 @@ libsimple_mempsetelem \- fill an array with a value .nf #include <libsimple.h> -void *libsimple_mempsetelem(void *\fIbuf\fP, const void *\fIitem\fP, size_t \fIsize\fP, size_t \fInitems\fP); +void *libsimple_mempsetelem(void *\fIbuf\fP, const void *\fIitem\fP, size_t \fIwidth\fP, size_t \fIn\fP); #ifndef mempsetelem # define mempsetelem libsimple_mempsetelem @@ -20,18 +20,18 @@ 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_mempsetelem () function returns the pointer .I buf with the offset -.I nitems*size +.I n*width (the byte where the copy stopped). .SH ERRORS The |