On 05/20/2014 01:02 AM, Rasmus Villemoes wrote: > The <asm/page.h> header is not readily available, and the comment > seems to indicate that it is for getting PAGE_SIZE. But it is never > mentioned why one would need to know that, and it is in any case > better obtained using sysconf(), provided by <unistd.h>. Hi Rasmus, Agreed. I'm not sure how that strangeness ever got into the page. Patch applied. Thanks! Cheers, Michael > --- > man2/swapon.2 | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/man2/swapon.2 b/man2/swapon.2 > index 9ab380c..18f8655 100644 > --- a/man2/swapon.2 > +++ b/man2/swapon.2 > @@ -40,8 +40,6 @@ 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 ); > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html