summaryrefslogtreecommitdiffstats
path: root/man3/bzero.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/bzero.3')
-rw-r--r--man3/bzero.334
1 files changed, 15 insertions, 19 deletions
diff --git a/man3/bzero.3 b/man3/bzero.3
index 35232e140..35abb1834 100644
--- a/man3/bzero.3
+++ b/man3/bzero.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH bzero 3 2023-02-05 "Linux man-pages 6.03"
+.TH bzero 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
bzero, explicit_bzero \- zero a byte string
.SH LIBRARY
@@ -38,39 +38,29 @@ in that it guarantees that compiler optimizations will not remove the
erase operation if the compiler deduces that the operation is "unnecessary".
.SH RETURN VALUE
None.
-.SH VERSIONS
-.BR explicit_bzero ()
-first appeared in glibc 2.25.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR bzero (),
.BR explicit_bzero ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-The
-.BR bzero ()
-function is deprecated (marked as LEGACY in POSIX.1-2001); use
-.BR memset (3)
-in new programs.
-POSIX.1-2008 removes the specification of
-.BR bzero ().
-The
-.BR bzero ()
-function first appeared in 4.3BSD.
-.PP
+None.
+.SH HISTORY
+.TP
+.BR explicit_bzero ()
+glibc 2.25.
+.IP
The
.BR explicit_bzero ()
function is a nonstandard extension that is also present on some of the BSDs.
@@ -78,6 +68,12 @@ Some other implementations have a similar function, such as
.BR memset_explicit ()
or
.BR memset_s ().
+.TP
+.BR bzero ()
+4.3BSD.
+.IP
+Marked as LEGACY in POSIX.1-2001.
+Removed in POSIX.1-2008.
.SH NOTES
The
.BR explicit_bzero ()