summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-13 10:27:51 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-13 10:27:51 +0000
commita5e838d0ac26130fc8257453a36de69a8e51a17f (patch)
tree111d24d5dcd721abe825ebe93b4e2f2a6e8937e6 /lib/libc/sys
parentd9bdb500ff0be669208a77b5accffd2f084aee77 (diff)
macro cleanup; from Kaspars Bankovskis, tweaked a bit
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/swapctl.215
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/sys/swapctl.2 b/lib/libc/sys/swapctl.2
index e3d909d5b16..d2b90608d89 100644
--- a/lib/libc/sys/swapctl.2
+++ b/lib/libc/sys/swapctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: swapctl.2,v 1.19 2013/09/30 12:02:36 millert Exp $
+.\" $OpenBSD: swapctl.2,v 1.20 2014/12/13 10:27:50 schwarze Exp $
.\" $NetBSD: swapctl.2,v 1.10 1998/08/29 17:11:09 mrg Exp $
.\"
.\" Copyright (c) 1997 Matthew R. Green
@@ -29,16 +29,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 30 2013 $
+.Dd $Mdocdate: December 13 2014 $
.Dt SWAPCTL 2
.Os
.Sh NAME
.Nm swapctl
.Nd modify swap configuration
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/swap.h>
-.Fd #include <unistd.h>
+.In sys/param.h
+.In sys/swap.h
+.In unistd.h
.Ft int
.Fn swapctl "int cmd" "const void *arg" "int misc"
.Sh DESCRIPTION
@@ -221,12 +221,13 @@ function call appeared in
The
.Fa se_path
member was added to
-.Li struct swapent
+.Vt struct swapent
in
.Nx 1.4 ,
when the header file was also moved from
-.Aq Pa vm/vm_swap.h .
+.In vm/vm_swap.h .
.Sh AUTHORS
+.An -nosplit
The current swap system was designed and implemented by
.An Matthew Green Aq Mt mrg@eterna.com.au ,
with help from