summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-11-06 12:07:42 +0000
committerderaadt <deraadt@openbsd.org>2011-11-06 12:07:42 +0000
commitabbbfe8c5b9b0e8997b02eca52eacc12ba56e784 (patch)
tree320ea63722c692a994cd9d5dbad359f711e7e87b /lib/libc
parentrepair documentation offset in the p*() versions of the calls and EINVAL; (diff)
downloadwireguard-openbsd-abbbfe8c5b9b0e8997b02eca52eacc12ba56e784.tar.xz
wireguard-openbsd-abbbfe8c5b9b0e8997b02eca52eacc12ba56e784.zip
.Ev -> .Dv
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getlogin.26
-rw-r--r--lib/libc/sys/getrlimit.212
-rw-r--r--lib/libc/sys/mount.26
-rw-r--r--lib/libc/sys/socketpair.28
4 files changed, 16 insertions, 16 deletions
diff --git a/lib/libc/sys/getlogin.2 b/lib/libc/sys/getlogin.2
index 1265996b6c3..9c8c4d9badb 100644
--- a/lib/libc/sys/getlogin.2
+++ b/lib/libc/sys/getlogin.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getlogin.2,v 1.18 2007/05/31 19:19:32 jmc Exp $
+.\" $OpenBSD: getlogin.2,v 1.19 2011/11/06 12:07:42 deraadt Exp $
.\" $NetBSD: getlogin.2,v 1.4 1995/02/27 12:33:03 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getlogin.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 6 2011 $
.Dt GETLOGIN 2
.Os
.Sh NAME
@@ -73,7 +73,7 @@ length parameter,
that specifies the size of the buffer.
The buffer should be large enough to store the login name and a trailing NUL
(typically
-.Ev LOGIN_NAME_MAX
+.Dv LOGIN_NAME_MAX
bytes).
.Pp
.Fn setlogin
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2
index 3861a847694..8a84f15331f 100644
--- a/lib/libc/sys/getrlimit.2
+++ b/lib/libc/sys/getrlimit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getrlimit.2,v 1.18 2007/05/31 19:19:32 jmc Exp $
+.\" $OpenBSD: getrlimit.2,v 1.19 2011/11/06 12:07:42 deraadt Exp $
.\" $NetBSD: getrlimit.2,v 1.8 1995/10/12 15:40:58 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 6 2011 $
.Dt GETRLIMIT 2
.Os
.Sh NAME
@@ -121,9 +121,9 @@ value for a limit is defined as
.Dv RLIM_INFINITY .
.Pp
A value of
-.Ev RLIM_SAVED_CUR
+.Dv RLIM_SAVED_CUR
or
-.Ev RLIM_SAVED_MAX
+.Dv RLIM_SAVED_MAX
will be stored in
.Fa rlim_cur
or
@@ -133,9 +133,9 @@ respectively by
if the value for the current or maximum resource limit cannot be stored in an
.Li rlim_t .
The values
-.Ev RLIM_SAVED_CUR
+.Dv RLIM_SAVED_CUR
and
-.Ev RLIM_SAVED_MAX
+.Dv RLIM_SAVED_MAX
should not be used in a call to
.Fn setrlimit
unless they were returned by a previous call to
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 085c737f973..35d77da1967 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.38 2007/06/01 06:27:57 jmc Exp $
+.\" $OpenBSD: mount.2,v 1.39 2011/11/06 12:07:42 deraadt 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: June 1 2007 $
+.Dd $Mdocdate: November 6 2011 $
.Dt MOUNT 2
.Os
.Sh NAME
@@ -329,7 +329,7 @@ was not specified.
An attempt was made to mount a
.Bx 4.2
filesystem without the
-.Ev MNT_RDONLY
+.Dv MNT_RDONLY
flag.
.El
.Pp
diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2
index 4c75bf3f071..72d655e4949 100644
--- a/lib/libc/sys/socketpair.2
+++ b/lib/libc/sys/socketpair.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socketpair.2,v 1.13 2007/05/31 19:19:34 jmc Exp $
+.\" $OpenBSD: socketpair.2,v 1.14 2011/11/06 12:07:42 deraadt Exp $
.\" $NetBSD: socketpair.2,v 1.5 1995/02/27 12:38:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)socketpair.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 6 2011 $
.Dt SOCKETPAIR 2
.Os
.Sh NAME
@@ -99,7 +99,7 @@ domain.
Many operating systems only accept a
.Ar protocol
of
-.Ev PF_UNSPEC ,
+.Dv PF_UNSPEC ,
so that should be used instead of
-.Ev PF_LOCAL
+.Dv PF_LOCAL
for maximal portability.