Re: User vs. Kernel (was: To be smug, or not to be smug, that is the

Steve Dodd (dirk@loth.demon.co.uk)
Fri, 22 Jan 1999 19:28:24 +0000


Hi,

On Fri, Jan 22, 1999 at 01:15:42AM -0500, Anthony Barbachan wrote:

> >If your process gets a signal, read() will return -1 and set
> >errno to EINTR. You must try the system call again, in a loop,
>
> This does not happen on Linux, at least not when using Libc 5, without
> undefining GNU or something like that. The GNU C library by default doesn't
> interrupt the read or write call when the process receives a signal.

What does it have to do with the C library? read() is a system call.

S.

-- 
If breastfeeding a pig is sickening to you, what the hell are you
doing on usenet? -- Aimee, on rec.music.tori-amos

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