diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2019-08-26 14:38:14 +0100 |
---|---|---|
committer | Peter Tribble <peter.tribble@gmail.com> | 2019-08-27 21:04:45 +0100 |
commit | c5806743f70246f7f708e57514b9103a6291d629 (patch) | |
tree | a9b2a46d7e707a21b6a9c05e9c6a773e34fa073f /usr/src/man/man3c/epoll_wait.3c | |
parent | 6ae02400ec7326832d2e19e92b4174ec778b2b9f (diff) | |
download | illumos-joyent-c5806743f70246f7f708e57514b9103a6291d629.tar.gz |
11622 clean up rarer mandoc lint warnings
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3c/epoll_wait.3c')
-rw-r--r-- | usr/src/man/man3c/epoll_wait.3c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/usr/src/man/man3c/epoll_wait.3c b/usr/src/man/man3c/epoll_wait.3c index 6ae9e0f9c4..7808661238 100644 --- a/usr/src/man/man3c/epoll_wait.3c +++ b/usr/src/man/man3c/epoll_wait.3c @@ -4,7 +4,7 @@ .\" Common Development and Distribution License ("CDDL"), version 1.0. .\" You may only use this file in accordance with the terms of version .\" 1.0 of the CDDL. -.\" +.\" .\" A full copy of the text of the CDDL should have accompanied this .\" source. A copy of the CDDL is also available via the Internet at .\" http://www.illumos.org/license/CDDL. @@ -12,24 +12,21 @@ .SH NAME epoll_wait, epoll_pwait \- wait for epoll events .SH SYNOPSIS - -.LP .nf #include <sys/epoll.h> -\fBint\fR \fBepoll_wait\fR(\fBint\fR \fIepfd\fR, \fBstruct epoll_event *\fR\fIevents\fR, +\fBint\fR \fBepoll_wait\fR(\fBint\fR \fIepfd\fR, \fBstruct epoll_event *\fR\fIevents\fR, \fBint\fR \fImaxevents\fR, \fBint\fR \fItimeout\fR); .fi .LP .nf -\fBint\fR \fBepoll_pwait\fR(\fBint\fR \fIepfd\fR, \fBstruct epoll_event *\fR\fIevents\fR, +\fBint\fR \fBepoll_pwait\fR(\fBint\fR \fIepfd\fR, \fBstruct epoll_event *\fR\fIevents\fR, \fBint\fR \fImaxevents\fR, \fBint\fR \fItimeout\fR, \fBconst sigset_t *\fR\fIsigmask\fR); .fi .SH DESCRIPTION -.LP The \fBepoll_wait()\fR function waits for events on the \fBepoll\fR(5) instance specified by \fIepfd\fR. The \fIevents\fR parameter must point to an array of \fImaxevents\fR \fIepoll_event\fR structures to be @@ -45,14 +42,12 @@ signal mask upon return, and is therefore similar to the relationship between \fBselect\fR(3C) and \fBpselect\fR(3C). .SH RETURN VALUES -.LP Upon successful completion, \fBepoll_wait()\fR and \fBepoll_pwait()\fR return the number of events, or 0 if none was pending and \fItimeout\fR milliseconds elapsed. If an error occurs, -1 is returned and errno is set to indicate the error. .SH ERRORS -.LP The \fBepoll_wait()\fR and \fBepoll_pwait()\fR functions will fail if: .sp .ne 2 @@ -93,8 +88,6 @@ is not greater than zero. .sp .SH NOTES -.LP - The \fBepoll\fR(5) facility is implemented for purposes of offering compatibility for Linux-borne applications; native applications should continue to prefer using event ports via the @@ -102,7 +95,6 @@ applications should continue to prefer using event ports via the interfaces. See \fBepoll\fR(5) for compatibility details and restrictions. .SH SEE ALSO -.LP \fBepoll_create\fR(3C), \fBepoll_ctl\fR(3C), \fBport_create\fR(3C), \fBport_associate\fR(3C), \fBport_get\fR(3C), \fBpselect\fR(3C), \fBepoll\fR(5) |