mirror of https://github.com/mkerrisk/man-pages
bstring.3: Fix prototypes
The length parameter n has type size_t in bcmp(), bcopy() and bzero(). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5918743bc8
commit
6b0e428029
|
@ -37,11 +37,11 @@ memmove, memset \- byte string operations
|
|||
.nf
|
||||
.B #include <string.h>
|
||||
.sp
|
||||
.BI "int bcmp(const void *" s1 ", const void *" s2 ", int " n );
|
||||
.BI "int bcmp(const void *" s1 ", const void *" s2 ", size_t " n );
|
||||
.sp
|
||||
.BI "void bcopy(const void *" src ", void *" dest ", int " n );
|
||||
.BI "void bcopy(const void *" src ", void *" dest ", size_t " n );
|
||||
.sp
|
||||
.BI "void bzero(void *" s ", int " n );
|
||||
.BI "void bzero(void *" s ", size_t " n );
|
||||
.sp
|
||||
.BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n );
|
||||
.sp
|
||||
|
|
Loading…
Reference in New Issue