From 616c0fd3c671967251dd26edaed1b4236e065b2d Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 13 May 2006 04:57:40 +0000 Subject: [PATCH] ffix --- man2/alloc_hugepages.2 | 5 ++++- man2/epoll_wait.2 | 25 ++++++++++++++----------- man2/select.2 | 4 ++-- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/man2/alloc_hugepages.2 b/man2/alloc_hugepages.2 index f3d37a34e..5d215e741 100644 --- a/man2/alloc_hugepages.2 +++ b/man2/alloc_hugepages.2 @@ -26,12 +26,15 @@ .SH NAME alloc_hugepages, free_hugepages \- allocate or free huge pages .SH SYNOPSIS -.BI "void *alloc_hugepages(int " key ", void *" addr ", size_t " len ", int " prot ", int " flag ); +.nf +.BI "void *alloc_hugepages(int " key ", void *" addr ", size_t " len , +.BI " int " prot ", int " flag ); .\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, .\" unsigned long len, int prot, int flag); .sp .BI "int free_hugepages(void *" addr ); .\" asmlinkage int sys_free_hugepages(unsigned long addr); +.fi .SH DESCRIPTION The system calls .BR alloc_hugepages () diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index 9e644c2de..89ed323c5 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -23,9 +23,12 @@ .SH NAME epoll_wait \- wait for an I/O event on an epoll file descriptor .SH SYNOPSIS +.nf .B #include .sp -.BI "int epoll_wait(int " epfd ", struct epoll_event * " events ", int " maxevents ", int " timeout) +.BI "int epoll_wait(int " epfd ", struct epoll_event * " events , +.BI " int " maxevents ", int " timeout); +.fi .SH DESCRIPTION Wait for events on the .B epoll @@ -58,17 +61,17 @@ is defined as : .sp .nf - typedef union epoll_data { - void *ptr; - int fd; - __uint32_t u32; - __uint64_t u64; - } epoll_data_t; + typedef union epoll_data { + void *ptr; + int fd; + __uint32_t u32; + __uint64_t u64; + } epoll_data_t; - struct epoll_event { - __uint32_t events; /* Epoll events */ - epoll_data_t data; /* User data variable */ - }; + struct epoll_event { + __uint32_t events; /* Epoll events */ + epoll_data_t data; /* User data variable */ + }; .fi diff --git a/man2/select.2 b/man2/select.2 index 10a6888d0..f7743e8ad 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -67,8 +67,8 @@ select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \- synchronous I/O multiplexi .B #include .sp \fBint pselect(int \fIn\fB, fd_set *\fIreadfds\fB, fd_set *\fIwritefds\fB, - fd_set *\fIexceptfds\fB, const struct timespec *\fItimeout\fB, - const sigset_t *\fIsigmask\fB); + fd_set *\fIexceptfds\fB, const struct timespec *\fItimeout\fB, + const sigset_t *\fIsigmask\fB); .fi .SH DESCRIPTION .BR select ()