Showing results for 
Search instead for 
Did you mean: 

issig(), psig() parameters?

Occasional Visitor

issig(), psig() parameters?

Hi there,

I am developing an HP-UX driver that uses sleep(condition,PZERO+1|PCATCH)to wait for an asynchronous event.
According to "HP-UX 11i Internals" book, such call is supposed to return 1 should the sleep be interrupted by a signal. In this case the book suggests that issig() and psig() have to be called explicitly (probably, like this: while (issig(...)) psig(...);).
Unfortunately, neither the book, nor DDK documentation gives any clue about parameters to these two calls. Moreover, there is no issig() or psig() prototype in any public header files supplied with DDK.
I would appreciate it very much if someone could suggest what are the right parameters in this case.