From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306729.tru64-unix-managers.marc@archive.invalid> From: Michel van der List Date: Thu, 30 Mar 1995 13:22:31 +0000 To: tru64-unix-managers Subject: sigaction question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306729 Hi there. I was looking through the man pages to try to figure out how sigaction works. Most things are pretty straight-forward, but one thing is eluding me. I'm reading about the sa_flags and the SA_SIGINFO bit: If this bit is cleared and the signal is caught, the argument specified by the signal parameter is passed as the only argument to the signal catching function. Two additional arguments are also available. The second argument provides an exception-specific code defined in ; this value is always zero (0) for nonexception signals. The third argument is a pointer to a sigcontext structure. So how many arguments do I get passed to my handler? One or three? What does it mean when 'the signal parameter is passed as the only argument', but 'Two additional arguments are also available'? Can somebody enlighted me? Does somebody have some example code to get to the sigcontext structure through signal handling? a d v Michel a e c n