[PATCH 08/20] bstring.3: Fix prototypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The length parameter n has type size_t in bcmp(), bcopy() and bzero().
---
 man3/bstring.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man3/bstring.3 b/man3/bstring.3
index 451e6a1..70a6535 100644
--- a/man3/bstring.3
+++ b/man3/bstring.3
@@ -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
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux