diff options
author | robert <robert@FreeBSD.org> | 2002-08-30 21:07:40 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-30 21:07:40 +0000 |
commit | ee013897958b034fe60705637be04e86b6bbf864 (patch) | |
tree | e3d0d3ae87c4237a426a4acdbc56a7dee4e7a8f6 /lib/libc/string/bcmp.3 | |
parent | cc37572108a2e59b837798858ebee657c950641c (diff) | |
download | FreeBSD-src-ee013897958b034fe60705637be04e86b6bbf864.zip FreeBSD-src-ee013897958b034fe60705637be04e86b6bbf864.tar.gz |
- Update the manual page of bcmp(3) by replacing
.In string.h
with
.In strings.h
and adding a sentence to the HISTORY section.
- Use an ANSI-C function definition.
- Include <strings.h> instead of <string.h>.
- Apply style(9): Put a space after return keywords.
Diffstat (limited to 'lib/libc/string/bcmp.3')
-rw-r--r-- | lib/libc/string/bcmp.3 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/string/bcmp.3 b/lib/libc/string/bcmp.3 index c33dd21..aa7c2cd 100644 --- a/lib/libc/string/bcmp.3 +++ b/lib/libc/string/bcmp.3 @@ -43,7 +43,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In string.h +.In strings.h .Ft int .Fn bcmp "const void *b1" "const void *b2" "size_t len" .Sh DESCRIPTION @@ -72,3 +72,10 @@ A .Fn bcmp function first appeared in .Bx 4.2 . +Its prototype existed previously in +.Aq Pa string.h +before it was moved to +.Aq Pa strings.h +for +.St -p1003.1-2001 +compliance. |