summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-01-22 22:54:14 +0000
committerguenther <guenther@openbsd.org>2014-01-22 22:54:14 +0000
commit13d73fe381930ff40434f0bb2de5d7a3a15778a1 (patch)
treecea2c17762fe96fce359b220d760d8aa3fa6fb67 /lib/libc
parentdrm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook (diff)
downloadwireguard-openbsd-13d73fe381930ff40434f0bb2de5d7a3a15778a1.tar.xz
wireguard-openbsd-13d73fe381930ff40434f0bb2de5d7a3a15778a1.zip
Use consistent phrasing for bitmask flags.
tweaking and ok millert@ jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/readpassphrase.312
-rw-r--r--lib/libc/regex/regex.311
-rw-r--r--lib/libc/sys/recv.210
3 files changed, 18 insertions, 15 deletions
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3
index cf9fa69eb20..8b7bccfc45e 100644
--- a/lib/libc/gen/readpassphrase.3
+++ b/lib/libc/gen/readpassphrase.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readpassphrase.3,v 1.18 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: readpassphrase.3,v 1.19 2014/01/22 22:54:14 guenther Exp $
.\"
.\" Copyright (c) 2000, 2002 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -18,7 +18,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 22 2014 $
.Dt READPASSPHRASE 3
.Os
.Sh NAME
@@ -49,9 +49,11 @@ Up to
Any additional
characters and the terminating newline (or return) character are discarded.
.Pp
-.Fn readpassphrase
-takes the following optional
-.Fa flags :
+The
+.Fa flags
+argument is the bitwise
+.Tn OR
+of zero or more of the following values:
.Bd -literal -offset indent
RPP_ECHO_OFF turn off echo (default behavior)
RPP_ECHO_ON leave echo on
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index 357858f5869..90395456f29 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: regex.3,v 1.24 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: regex.3,v 1.25 2014/01/22 22:54:14 guenther Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
.\"
@@ -35,7 +35,7 @@
.\"
.\" @(#)regex.3 8.4 (Berkeley) 3/20/94
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 22 2014 $
.Dt REGEX 3
.Os
.Sh NAME
@@ -100,10 +100,11 @@ and places the results in the
.Li regex_t
structure pointed to by
.Fa preg .
+The
.Fa cflags
-is the bitwise
+argument is the bitwise
.Tn OR
-of zero or more of the following flags:
+of zero or more of the following values:
.Bl -tag -width XREG_EXTENDEDX
.It Dv REG_EXTENDED
Compile modern
@@ -221,7 +222,7 @@ The
.Fa eflags
argument is the bitwise
.Tn OR
-of zero or more of the following flags:
+of zero or more of the following values:
.Bl -tag -width XREG_STARTENDX
.It Dv REG_NOTBOL
The first character of
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 51aac36f0ad..0028a511ab3 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.38 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: recv.2,v 1.39 2014/01/22 22:54:14 guenther Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)recv.2 8.3 (Berkeley) 2/21/94
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 22 2014 $
.Dt RECV 2
.Os
.Sh NAME
@@ -114,9 +114,9 @@ system calls may be used to determine when more data arrive.
.Pp
The
.Fa flags
-argument to a recv call is formed by
-.Tn OR Ns ing
-one or more of the values:
+argument is the bitwise
+.Tn OR
+of zero or more of the following values:
.Pp
.Bl -tag -width "MSG_DONTWAITXX" -offset indent -compact
.It Dv MSG_OOB