summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/bzero.3
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-09-01 21:53:46 +0000
committerrobert <robert@FreeBSD.org>2002-09-01 21:53:46 +0000
commit27ec88afb518866209c0c57333dd48c02609623a (patch)
treee5800830b427bd6f024dc17e7f70e2cde2514fa4 /lib/libc/string/bzero.3
parentce650f8c333de3130e1beb1e3caa213af385e085 (diff)
downloadFreeBSD-src-27ec88afb518866209c0c57333dd48c02609623a.zip
FreeBSD-src-27ec88afb518866209c0c57333dd48c02609623a.tar.gz
- Let their manual pages show the reader that the bzero(3) and
bcopy(3) functions are prototyped in <strings.h> and not in <string.h> anymore. - Add a sentence about that to the respective HISTORY sections. In the C source files: - Include <string.h> or <strings.h> depending on what function is to be compiled. - Use ANSI-C function definitions.
Diffstat (limited to 'lib/libc/string/bzero.3')
-rw-r--r--lib/libc/string/bzero.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/string/bzero.3 b/lib/libc/string/bzero.3
index 7803835..71b8520 100644
--- a/lib/libc/string/bzero.3
+++ b/lib/libc/string/bzero.3
@@ -44,7 +44,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In string.h
+.In strings.h
.Ft void
.Fn bzero "void *b" "size_t len"
.Sh DESCRIPTION
@@ -69,3 +69,10 @@ A
function
appeared in
.Bx 4.3 .
+Its prototype existed previously in
+.Aq Pa string.h
+before it was moved to
+.Aq Pa strings.h
+for
+.St -p1003.1-2001
+compliance.
OpenPOWER on IntegriCloud