summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2021-02-02 07:33:29 +0000
committerjmc <jmc@openbsd.org>2021-02-02 07:33:29 +0000
commitc1d0308a693828b31d436726f1e24f9a9741b4ac (patch)
treeb28ea8861112cd0a0574fae8d1c3b5a6eae8d850 /lib/libc
parentImprove the last comment (diff)
downloadwireguard-openbsd-c1d0308a693828b31d436726f1e24f9a9741b4ac.tar.xz
wireguard-openbsd-c1d0308a693828b31d436726f1e24f9a9741b4ac.zip
article fixes; from eddie youseph
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/cgetent.36
-rw-r--r--lib/libc/stdio/ungetwc.36
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/cgetent.3 b/lib/libc/gen/cgetent.3
index 212241e1333..76cb4c889f5 100644
--- a/lib/libc/gen/cgetent.3
+++ b/lib/libc/gen/cgetent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cgetent.3,v 1.1 2019/09/02 21:18:41 deraadt Exp $
+.\" $OpenBSD: cgetent.3,v 1.2 2021/02/02 07:33:29 jmc Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 2 2019 $
+.Dd $Mdocdate: February 2 2021 $
.Dt CGETENT 3
.Os
.Sh NAME
@@ -244,7 +244,7 @@ Upon completion of the database 0 is returned; 1 is returned upon successful
return of a record with possibly more remaining (the end of the database has
not been reached yet); 2 is returned if the record contains an unresolved
.Ic tc
-expansion; \-1 is returned if an system error occurred; and \-2
+expansion; \-1 is returned if a system error occurred; and \-2
is returned if a potential reference loop is detected (see
.Ic tc=
comments below).
diff --git a/lib/libc/stdio/ungetwc.3 b/lib/libc/stdio/ungetwc.3
index 389fe771780..155ce5f2fa3 100644
--- a/lib/libc/stdio/ungetwc.3
+++ b/lib/libc/stdio/ungetwc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ungetwc.3,v 1.5 2017/12/01 11:18:40 schwarze Exp $
+.\" $OpenBSD: ungetwc.3,v 1.6 2021/02/02 07:33:29 jmc Exp $
.\"
.\" $NetBSD: ungetwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
@@ -35,7 +35,7 @@
.\"
.\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 1 2017 $
+.Dd $Mdocdate: February 2 2021 $
.Dt UNGETWC 3
.Os
.Sh NAME
@@ -51,7 +51,7 @@ The
.Fn ungetwc
function pushes the wide character
.Fa wc
-(converted to an wchar_t)
+(converted to a wchar_t)
back onto the input stream pointed to by
.Fa stream .
The pushed-backed wide characters will be returned by subsequent reads on the