Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigstack.bsd(2) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigvec(2)

setjmp(3)

SIGSTACK(2)

NAME

sigstack − set and/or get signal stack context

USAGE

#include <signal.h>
 
struct sigstack { caddr_tss_sp; intss_onstack; };
 
sigstack(ss, oss); struct sigstack *ss, *oss;

DESCRIPTION

Sigstack allows you to define an alternate stack on which to process signals.  The DOMAIN/IX implementation of sigstack is a no-op, included for compatability with existing programs. 

If ss is non-zero, it specifies a “signal stack” on which to deliver signals and tells the system whether the process is currently executing on that stack. 

NOTES

DOMAIN/IX does not implement a signal stack.  Calls to sigstack always return 0, and the stack context is never changed. 

RETURN VALUE

A successful call returns zero.  A failed call returns -1 and sets errno as indicated below. 

ERRORS

Sigstack will fail and the signal stack context will remain unchanged if the following occurs:

[EFAULT] Either ss or oss points to memory that is not a valid part of the process’s address space. 

RELATED INFORMATION

sigvec(2), setjmp(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026