Hello,
I'm using gcc on Linux RedHat 6.2
It's said in man that signal() behaviour is SYSV one. But, when I
compile my programs, signal() has got the BSD behaviour. Why ?
How can I make it have SYSV behaviour ?
read() doesn't return on signal. Why ? I want it to return with
errno=EINTR. How can I
Matt Wilson a écrit :
> > read() doesn't return on signal. Why ? I want it to return with
> > errno=EINTR. How can I do that ?
>
> read should return on a signal - do you have a test case that shows
> differently?
Look this little test prog:
#include
void fsig(int sig)
{
printf("Sig re
Hello,
I'm using gcc on Linux RedHat 6.2
It's said in man that signal() behaviour is SYSV one. But, when I
compile my programs, signal() has got the BSD behaviour. Why ?
How can I make it have SYSV behaviour ?
read() doesn't return on signal. Why ? I want it to return with
errno=EINTR. How can I