> Is errno 3455 "broken pipe" during a call to send_file() API
> considered a signal interrupt?

Yes, not only is the errno EPIPE returned to the caller, but SIGPIPE will be 
raised too. If you ignore signals (i.e. you don't have an explicit signal 
handler) you won't see the signal.

> Does this mean we can restart send_file() after a 3455 "broken pipe"?
> (We're sending to an FTP data port over PPP.)

EPIPE normally means that there is nothing at the other end of the FIFO to read 
the data off, so a resend will probably re-signal the condition.


This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].