1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-11 06:22:58 +00:00

replaced select() by poll() in comments

This commit is contained in:
Gerhard Rieger 2008-09-04 23:42:52 +02:00
parent e142c3da6b
commit 1924e17cf0
6 changed files with 20 additions and 20 deletions

View file

@ -1,5 +1,5 @@
/* source: xiowrite.c */
/* Copyright Gerhard Rieger 2001-2007 */
/* Copyright Gerhard Rieger 2001-2008 */
/* Published under the GNU General Public License V.2, see file COPYING */
/* this is the source of the extended write function */
@ -13,9 +13,9 @@
/* ...
note that the write() call can block even if the select() call reported the
FD writeable: in case the FD is not nonblocking and a lock defers the
operation.
note that the write() call can block even if the select()/poll() call
reported the FD writeable: in case the FD is not nonblocking and a lock
defers the operation.
on return value < 0: errno reflects the value from write() */
ssize_t xiowrite(xiofile_t *file, const void *buff, size_t bytes) {
ssize_t writt;