[Gambas-bugtracker] Bug #2388: writing large data string to pipe causes gambas app to hang

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Oct 30 07:44:59 CEST 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2388&from=L21haW4-

Comment #6 by Brian G:

for read
 EAGAIN The file descriptor fd refers to a file other than a
              socket and has been marked nonblocking (O_NONBLOCK), and
              the read would block.  See open(2) for further details on
              the O_NONBLOCK flag.

for write
 EAGAIN The file descriptor fd refers to a file other than a
              socket and has been marked nonblocking (O_NONBLOCK), and
              the write would block.  See open(2) for further details on
              the O_NONBLOCK flag.

       EAGAIN or EWOULDBLOCK
              The file descriptor fd refers to a socket and has been
              marked nonblocking (O_NONBLOCK), and the write would
              block.  POSIX.1-2001 allows either error to be returned
              for this case, and does not require these constants to
              have the same value, so a portable application should
              check for both possibilities.




More information about the Bugtracker mailing list