help needed on a unix system-call question

vijay hemraj jadhwani thssvhj at iitmax.IIT.EDU
Mon Mar 6 12:07:24 AEST 1989


In my code I use a signal (SIGALRM), system-call, following which is a 'read'
system-call. The read is done on a tty-port. It is mentioned in the unix v
manual that 'read' will return -1 when interrupted by a signal. Is it poss-
ible to lose the partially read data by the 'read' system call, when the
signal was caught , even though I execute a 'read' again ? Note that I
am doing a 'read' on the tty-port. 

Thanks in advance for any help.



More information about the Comp.unix.wizards mailing list