SVR4

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Aug 16 02:40:09 AEST 1989


In article <14020066 at hpisod2.HP.COM> decot at hpisod2.HP.COM (Dave Decot) writes:
>> AT&T presented an overview of SVR4 at a BOF session at the Baltimore USENIX.
>I found a reference in a draft of SVID89 to a function called
>getcontext(BA_OS), but no entry in the book for it.
>Will such a function exist, and if so, what will it do?

My notes from the BOF session say that getcontext() gets current user
context (ucontext structure), which is described as being similar to
BSD sigcontext: signal mask, machine context, current stack.  As near
as I can tell from the copy of the VuGraph, this is in addition to
the additional siginfo structure that will be fed to three-argument
signal handlers when SA_SIGINFO is enabled in the sigaction flag.
Apparently you have to make the specific system call getcontext() to
retrieve the ucontext information.  There is also a setcontext() for
the reverse.  The notes did not include detailed interface information.



More information about the Comp.unix.wizards mailing list