This commit is contained in:
Michael Kerrisk 2008-02-28 14:40:15 +00:00
parent cc65f7d823
commit 160c5be13e
1 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ flag (edge-triggered behavior) ?
Receiving an event from
.BR epoll_wait (2)
should suggest to you that such
file descriptor is ready for the requested I/O operation.
file descriptor is ready for the requested I/O operation.
You have simply to consider it ready until you receive the next
.BR EAGAIN .
When and how you will use the file descriptor is entirely up to you.
@ -395,12 +395,12 @@ checking the amount of data read from / written to the target file
descriptor.
For example, if you call
.BR read (2)
by asking to read a certain amount of data and
by asking to read a certain amount of data and
.BR read (2)
returns a lower number of bytes, you
can be sure of having exhausted the read I/O space for the file
descriptor.
The same is true when writing using
The same is true when writing using
.BR write (2).
.sp
For packet/token oriented files (e.g., datagram socket,