RE: accept

David Schwartz (davids@webmaster.com)
Sun, 4 Feb 2001 03:01:24 -0800


> 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.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/