mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
d6edd6b8f6
commit
616c0fd3c6
|
@ -26,12 +26,15 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
alloc_hugepages, free_hugepages \- allocate or free huge pages
|
alloc_hugepages, free_hugepages \- allocate or free huge pages
|
||||||
.SH SYNOPSIS
|
.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,
|
.\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr,
|
||||||
.\" unsigned long len, int prot, int flag);
|
.\" unsigned long len, int prot, int flag);
|
||||||
.sp
|
.sp
|
||||||
.BI "int free_hugepages(void *" addr );
|
.BI "int free_hugepages(void *" addr );
|
||||||
.\" asmlinkage int sys_free_hugepages(unsigned long addr);
|
.\" asmlinkage int sys_free_hugepages(unsigned long addr);
|
||||||
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The system calls
|
The system calls
|
||||||
.BR alloc_hugepages ()
|
.BR alloc_hugepages ()
|
||||||
|
|
|
@ -23,9 +23,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
epoll_wait \- wait for an I/O event on an epoll file descriptor
|
epoll_wait \- wait for an I/O event on an epoll file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
.nf
|
||||||
.B #include <sys/epoll.h>
|
.B #include <sys/epoll.h>
|
||||||
.sp
|
.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
|
.SH DESCRIPTION
|
||||||
Wait for events on the
|
Wait for events on the
|
||||||
.B epoll
|
.B epoll
|
||||||
|
@ -58,17 +61,17 @@ is defined as :
|
||||||
.sp
|
.sp
|
||||||
.nf
|
.nf
|
||||||
|
|
||||||
typedef union epoll_data {
|
typedef union epoll_data {
|
||||||
void *ptr;
|
void *ptr;
|
||||||
int fd;
|
int fd;
|
||||||
__uint32_t u32;
|
__uint32_t u32;
|
||||||
__uint64_t u64;
|
__uint64_t u64;
|
||||||
} epoll_data_t;
|
} epoll_data_t;
|
||||||
|
|
||||||
struct epoll_event {
|
struct epoll_event {
|
||||||
__uint32_t events; /* Epoll events */
|
__uint32_t events; /* Epoll events */
|
||||||
epoll_data_t data; /* User data variable */
|
epoll_data_t data; /* User data variable */
|
||||||
};
|
};
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,8 @@ select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \- synchronous I/O multiplexi
|
||||||
.B #include <sys/select.h>
|
.B #include <sys/select.h>
|
||||||
.sp
|
.sp
|
||||||
\fBint pselect(int \fIn\fB, fd_set *\fIreadfds\fB, fd_set *\fIwritefds\fB,
|
\fBint pselect(int \fIn\fB, fd_set *\fIreadfds\fB, fd_set *\fIwritefds\fB,
|
||||||
fd_set *\fIexceptfds\fB, const struct timespec *\fItimeout\fB,
|
fd_set *\fIexceptfds\fB, const struct timespec *\fItimeout\fB,
|
||||||
const sigset_t *\fIsigmask\fB);
|
const sigset_t *\fIsigmask\fB);
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR select ()
|
.BR select ()
|
||||||
|
|
Loading…
Reference in New Issue