fix comment
This commit is contained in:
parent
bf4fededf5
commit
e28d09ade0
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@
|
|||
|
||||
|
||||
/*
|
||||
* ioctl(FIONBIO) sets a blocking mode with the single syscall
|
||||
* while fcntl(F_SETFL, !O_NONBLOCK) needs to learn before
|
||||
* the previous state using fcntl(F_GETFL).
|
||||
* ioctl(FIONBIO) sets a non-blocking mode with the single syscall
|
||||
* while fcntl(F_SETFL, O_NONBLOCK) needs to learn the current state
|
||||
* using fcntl(F_GETFL).
|
||||
*
|
||||
* ioctl() and fcntl() are syscalls at least in FreeBSD 2.x, Linux 2.2
|
||||
* and Solaris 7.
|
||||
|
|
Loading…
Reference in a new issue