summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorrob <rob@openbsd.org>2019-05-15 18:18:21 +0000
committerrob <rob@openbsd.org>2019-05-15 18:18:21 +0000
commitcaa7014e9e375c84effac0d93fe77fd53d59690a (patch)
tree222744b014661321d7d584cd8026eddc5ff978b9 /lib/libutil
parentClean up all major UTF-8 issues in cvt.c. (diff)
downloadwireguard-openbsd-caa7014e9e375c84effac0d93fe77fd53d59690a.tar.xz
wireguard-openbsd-caa7014e9e375c84effac0d93fe77fd53d59690a.zip
Consistently make errno a .Vt
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/ber_get_string.37
-rw-r--r--lib/libutil/ber_read_elements.37
2 files changed, 8 insertions, 6 deletions
diff --git a/lib/libutil/ber_get_string.3 b/lib/libutil/ber_get_string.3
index e48ac4a0847..286845d20d4 100644
--- a/lib/libutil/ber_get_string.3
+++ b/lib/libutil/ber_get_string.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ber_get_string.3,v 1.1 2019/05/15 03:11:52 rob Exp $
+.\" $OpenBSD: ber_get_string.3,v 1.2 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -88,8 +88,9 @@ Upon successful completion,
and
.Fn ber_scanf_elements
return 0.
-Otherwise \-1 is returned and the global variable errno is
-set to indicate the error.
+Otherwise \-1 is returned and the global variable
+.Vt errno
+is set to indicate the error.
.Pp
.Fn ber_getpos
returns the value of
diff --git a/lib/libutil/ber_read_elements.3 b/lib/libutil/ber_read_elements.3
index 135b51c81c9..cddea087027 100644
--- a/lib/libutil/ber_read_elements.3
+++ b/lib/libutil/ber_read_elements.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ber_read_elements.3,v 1.2 2019/05/15 09:49:32 schwarze Exp $
+.\" $OpenBSD: ber_read_elements.3,v 1.3 2019/05/15 18:18:21 rob Exp $
.\"
.\" Copyright (c) 2007, 2012 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -153,8 +153,9 @@ or \-1 on failure.
.Pp
.Fn ber_write_elements
returns the number of bytes written.
-Otherwise \-1 is returned and the global variable errno is
-set to indicate the error.
+Otherwise \-1 is returned and the global variable
+.Vt errno
+is set to indicate the error.
.Sh SEE ALSO
.Xr read 2 ,
.Xr recv 2 ,