.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 ()
.SH NAME
epoll_wait \- wait for an I/O event on an epoll file descriptor
.SH SYNOPSIS
+.nf
.B #include <sys/epoll.h>
.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
.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
.B #include <sys/select.h>
.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 ()