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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 23 Jan 1999 18:26:08 +0000 (GMT)


> > 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. Its a
> > nice feature, it allows me to leave out the error handling code that has to
> > take care of this problem on SunOS and others by restarting the same system
> > call; adjusted for any changes.
>
> Very nice, but sadly nonportable. Sounds like we need an all-Unix
> conference to hash out an acceptable common solution, unless the majority
> really, really loves writing #ifdef s.

Not really, POSIX sorted this out years ago. man sigaction

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