mea@sparta.com (Mike Anderson) (10/08/90)
I am running some socket code on a SunOS 4.1 machine (3/60) and I'm getting a really strange errno on a recv call. The errno is EINTR which indicates that an interrupt occured during my recv system call. Now, when I use sigpending to try and find which signal caused the interrupt, it returns a 0 (i.e., no signals blocked or pended). I do have signal handlers for SIGPIPE, SIGINT and SIGALRM in my code, but none of them show any recent activity. I have tried to use sigsetmask (with all 1's in desperation) to block any interrupts, but I still get the EINTR errno on the recv call. This same read functions fine for several calls and then gives me this error when I'm closing things off. Does anyone have any idea what's going on and how I can fix it or disable it? Thanks for any clues, Mike Anderson "It is useless for sheep to pass resolutions in favor SPARTA, Inc. of vegetarianism while wolves remain of a different mea@sparta.com opinion." (703) 448-0210 William R. Inge, D.D. 1860-1954