summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-10-12 15:22:32 +0000
committerschwarze <schwarze@openbsd.org>2017-10-12 15:22:32 +0000
commit0f27326fc679ad29df6282990f26225ca849a749 (patch)
treeafab1f3ce3d24ebb485d79380b9037a7fdbb8a48 /lib/libc/string
parentUse a regex(3) to find the new pledge violation string in the dmesg. (diff)
downloadwireguard-openbsd-0f27326fc679ad29df6282990f26225ca849a749.tar.xz
wireguard-openbsd-0f27326fc679ad29df6282990f26225ca849a749.zip
Add STANDARDS: denis@ spotted that it was missing.
OK deraadt@ jca@ jmc@
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/bzero.321
1 files changed, 19 insertions, 2 deletions
diff --git a/lib/libc/string/bzero.3 b/lib/libc/string/bzero.3
index b3f29793492..87a23e20bb3 100644
--- a/lib/libc/string/bzero.3
+++ b/lib/libc/string/bzero.3
@@ -27,9 +27,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: bzero.3,v 1.12 2015/11/24 09:14:35 daniel Exp $
+.\" $OpenBSD: bzero.3,v 1.13 2017/10/12 15:22:32 schwarze Exp $
.\"
-.Dd $Mdocdate: November 24 2015 $
+.Dd $Mdocdate: October 12 2017 $
.Dt BZERO 3
.Os
.Sh NAME
@@ -64,6 +64,23 @@ password.
.Sh SEE ALSO
.Xr memset 3 ,
.Xr swab 3
+.Sh STANDARDS
+The
+.Fn bzero
+function conforms to the X/Open System Interfaces option of the
+.St -p1003.1-2004
+specification.
+It was removed from the standard in
+.St -p1003.1-2008 ,
+which recommends using
+.Xr memset 3
+instead.
+.Pp
+The
+.Fn explicit_bzero
+function is an
+.Ox
+extension.
.Sh HISTORY
The
.Fn bzero