RE: accept

From: David Schwartz (
Date: Sun Feb 04 2001 - 06:01:24 EST

> What does it typically mean when accept returns 0
> and that the perror outputs "Interupted system call"??

        Since 'accept' returning zero is not an error, the results of 'perror' are
meaningless. Please read the manual page for 'accept' and notice that it
says, "The call returns -1 on error". Continue reading to understand what a
return value of zero means. Remember that zero is a non-negative integer.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:19 EST