OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / swapon.2
index 9ab380c..aafc7fb 100644 (file)
 .\" 2007-06-22 Ivana Varekova <varekova@redhat.com>, mtk
 .\"     Update text describing limit on number of swap files.
 .\"
-.TH SWAPON 2 2014-02-26 "Linux" "Linux Programmer's Manual"
+.\" FIXME Linux 3.11 added SWAP_FLAG_DISCARD_ONCE and SWAP_FLAG_DISCARD_PAGES
+.\"    commit dcf6b7ddd7df8965727746f89c59229b23180e5a
+.\"    Author: Rafael Aquini <aquini@redhat.com>
+.\"    Date:   Wed Jul 3 15:02:46 2013 -0700
+.\"
+.TH SWAPON 2 2014-05-28 "Linux" "Linux Programmer's Manual"
 .SH NAME
 swapon, swapoff \- start/stop swapping to file/device
 .SH SYNOPSIS
 .B #include <unistd.h>
 .br
-.B #include <asm/page.h>     /* to find PAGE_SIZE */
-.br
 .B #include <sys/swap.h>
 .sp
 .BI "int swapon(const char *" path ", int " swapflags );
@@ -200,3 +203,12 @@ is called, even if that flag bit is not set.
 .BR mkswap (8),
 .BR swapoff (8),
 .BR swapon (8)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.