summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
committerbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
commit9dbd696514ef94fc24ee622023bb055d94c78640 (patch)
treecc83a924c252f976523f2306273efaa262692a9c /lib/libc/sys
parentMove consinit() out of the bowels of the zs driver to its own file, in (diff)
downloadwireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz
wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/getrusage.217
-rw-r--r--lib/libc/sys/socket.27
2 files changed, 15 insertions, 9 deletions
diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2
index 6eaa1b3363e..aeaf5c9d124 100644
--- a/lib/libc/sys/getrusage.2
+++ b/lib/libc/sys/getrusage.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getrusage.2,v 1.16 2014/12/10 07:16:58 guenther Exp $
+.\" $OpenBSD: getrusage.2,v 1.17 2015/02/28 21:51:57 bentley Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)getrusage.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: February 28 2015 $
.Dt GETRUSAGE 2
.Os
.Sh NAME
@@ -88,7 +88,9 @@ of the process(es).
.It Fa ru_maxrss
the maximum resident set size utilized (in kilobytes).
.It Fa ru_ixrss
-an \*(lqintegral\*(rq value indicating the amount of memory used
+an
+.Dq integral
+value indicating the amount of memory used
by the text segment
that was also shared among other processes.
This value is expressed in units of kilobytes * ticks-of-execution.
@@ -102,13 +104,16 @@ stack segment of a process (expressed in units of
kilobytes * ticks-of-execution).
.It Fa ru_minflt
the number of page faults serviced without any I/O activity; here
-I/O activity is avoided by \*(lqreclaiming\*(rq a page frame from
+I/O activity is avoided by
+.Dq reclaiming
+a page frame from
the list of pages awaiting reallocation.
.It Fa ru_majflt
the number of page faults serviced that required I/O activity.
.It Fa ru_nswap
-the number of times a process was \*(lqswapped\*(rq out of main
-memory.
+the number of times a process was
+.Dq swapped
+out of main memory.
.It Fa ru_inblock
the number of times the file system had to perform input.
.It Fa ru_oublock
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index 10f48fe68a7..cb62cb4c5f6 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socket.2,v 1.38 2014/08/31 01:42:36 guenther Exp $
+.\" $OpenBSD: socket.2,v 1.39 2015/02/28 21:51:57 bentley Exp $
.\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)socket.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: August 31 2014 $
+.Dd $Mdocdate: February 28 2015 $
.Dt SOCKET 2
.Os
.Sh NAME
@@ -114,7 +114,8 @@ Normally only a single protocol exists to support a particular
socket type within a given protocol family.
However, it is possible that many protocols may exist,
in which case a particular protocol must be specified in this manner.
-The protocol number to use is particular to the \*(lqcommunication domain\*(rq
+The protocol number to use is particular to the
+.Dq communication domain
in which communication is to take place; see
.Xr protocols 5 .
A value of 0 for