/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: svid3:signal.h (VERSION 2.6)
*/

#ifndef __TDF_SVID3_SIGNAL_H
#define __TDF_SVID3_SIGNAL_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__signal begin

#ifndef __TDF_POSIX_SIGNAL_H
#pragma extend interface "../posix.api/signal.h"
#endif /* __TDF_POSIX_SIGNAL_H */
#pragma token EXP const : int : SIGBUS # svid3.signal.SIGBUS
#pragma token EXP const : int : SIGEMT # svid3.signal.SIGEMT
#pragma token EXP const : int : SIGPOLL # svid3.signal.SIGPOLL
#pragma token EXP const : int : SIGPWR # svid3.signal.SIGPWR
#pragma token EXP const : int : SIGSYS # svid3.signal.SIGSYS
#pragma token EXP const : int : SIGTRAP # svid3.signal.SIGTRAP
#pragma token EXP const : int : SIGWINCH # svid3.signal.SIGWINCH
#pragma token EXP const : int : SIGXCPU # svid3.signal.SIGXCPU
#pragma token EXP const : int : SIGXFSZ # svid3.signal.SIGXFSZ
#pragma token EXP const : int : SA_NOCLDWAIT # svid3.signal.SA_NOCLDWAIT
#pragma token EXP const : int : SA_ONSTACK # svid3.signal.SA_ONSTACK
#pragma token EXP const : int : SA_RESETHAND # svid3.signal.SA_RESETHAND
#pragma token EXP const : int : SA_RESTART # svid3.signal.SA_RESTART
#pragma token EXP const : int : SA_SIGINFO # svid3.signal.SA_SIGINFO
/* See errata */
#pragma token STRUCT stack_t # svid3.signal.stack_t
#pragma token MEMBER char * : stack_t : ss_sp # svid3.signal.stack_t.ss_sp
#pragma token MEMBER int : stack_t : ss_size # svid3.signal.stack_t.ss_size
#pragma token MEMBER int : stack_t : ss_flags # svid3.signal.stack_t.ss_flags
#pragma token EXP const : int : SS_ONSTACK # svid3.signal.SS_ONSTACK
#pragma token EXP const : int : SS_DISABLE # svid3.signal.SS_DISABLE
#pragma token EXP const : int : SIGSTKSZ # svid3.signal.SIGSTKSZ
/* Typo in book */
#pragma token EXP const : int : MINSIGSTKSZ # svid3.signal.MINSIGSTKSZ
#pragma token FUNC int (const stack_t *, stack_t *) : sigaltstack # svid3.signal.sigaltstack
#pragma token FUNC void (* (int, void (*) (int))) (int) : sigset # svid3.signal.sigset
#pragma token FUNC int (int) : sighold # svid3.signal.sighold
#pragma token FUNC int (int) : sigrelse # svid3.signal.sigrelse
#pragma token FUNC int (int) : sigignore # svid3.signal.sigignore
#pragma token FUNC int (int) : sigpause # svid3.signal.sigpause

#pragma interface SIGBUS SIGEMT SIGPOLL SIGPWR SIGSYS SIGTRAP SIGWINCH
#pragma interface SIGXCPU SIGXFSZ SA_NOCLDWAIT SA_ONSTACK SA_RESETHAND
#pragma interface SA_RESTART SA_SIGINFO stack_t stack_t.ss_sp
#pragma interface stack_t.ss_size stack_t.ss_flags SS_ONSTACK SS_DISABLE
#pragma interface SIGSTKSZ MINSIGSTKSZ sigaltstack sigset sighold sigrelse
#pragma interface sigignore sigpause

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_SIGNAL_H */
