summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-07-08 18:48:30 +0000
committeranton <anton@openbsd.org>2019-07-08 18:48:30 +0000
commiteda2ee1edc1fdd2b5545c7122fda621103f58c36 (patch)
tree55bdea133186858a95761237139b033b5243d71c /lib/libc
parentfree(9) sizes for M_RTABLE. (diff)
downloadwireguard-openbsd-eda2ee1edc1fdd2b5545c7122fda621103f58c36.tar.xz
wireguard-openbsd-eda2ee1edc1fdd2b5545c7122fda621103f58c36.zip
Get rid of an old convention of wrapping preprocessor constants in curly
braces. no objection from jmc@ and schwarze@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getgroups.26
-rw-r--r--lib/libc/sys/mount.26
-rw-r--r--lib/libc/sys/setgroups.28
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/sys/getgroups.2 b/lib/libc/sys/getgroups.2
index b70d8f73f94..c290cceece9 100644
--- a/lib/libc/sys/getgroups.2
+++ b/lib/libc/sys/getgroups.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgroups.2,v 1.14 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: getgroups.2,v 1.15 2019/07/08 18:48:30 anton Exp $
.\" $NetBSD: getgroups.2,v 1.8 1995/02/27 12:32:57 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getgroups.2 8.2 (Berkeley) 4/16/94
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: July 8 2019 $
.Dt GETGROUPS 2
.Os
.Sh NAME
@@ -53,7 +53,7 @@ indicates the number of entries that may be placed in
returns the actual number of groups returned in
.Fa gidset .
No more than
-.Dv {NGROUPS_MAX}
+.Dv NGROUPS_MAX
will ever
be returned.
If
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 642d203676d..b029bf2cdc7 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.48 2018/04/27 13:42:08 guenther Exp $
+.\" $OpenBSD: mount.2,v 1.49 2019/07/08 18:48:30 anton Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mount.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: April 27 2018 $
+.Dd $Mdocdate: July 8 2019 $
.Dt MOUNT 2
.Os
.Sh NAME
@@ -263,7 +263,7 @@ will fail when one of the following occurs:
The caller is not the superuser.
.It Bq Er ENAMETOOLONG
The path name exceeded
-.Dv {MNAMELEN}
+.Dv MNAMELEN
characters.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating a pathname.
diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2
index 562aac16e70..0af926a104b 100644
--- a/lib/libc/sys/setgroups.2
+++ b/lib/libc/sys/setgroups.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setgroups.2,v 1.13 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: setgroups.2,v 1.14 2019/07/08 18:48:30 anton Exp $
.\" $NetBSD: setgroups.2,v 1.7 1995/02/27 12:36:49 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)setgroups.2 8.2 (Berkeley) 4/16/94
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: July 8 2019 $
.Dt SETGROUPS 2
.Os
.Sh NAME
@@ -50,7 +50,7 @@ The parameter
.Fa ngroups
indicates the number of entries in the array and must be no
more than
-.Dv {NGROUPS_MAX} .
+.Dv NGROUPS_MAX .
.Pp
Only the superuser may set new groups.
.Sh RETURN VALUES
@@ -64,7 +64,7 @@ call will fail if:
The value of
.Fa ngroups
is greater than
-.Dv {NGROUPS_MAX} .
+.Dv NGROUPS_MAX .
.It Bq Er EPERM
The caller is not the superuser.
.It Bq Er EFAULT