# HG changeset patch # User roug # Date 1035313744 0 # Node ID 28a203bbd2cca24197d877ca7a5c8a1565fa64d7 # Parent d14042385d240147934b17f9c67ce3fd0683c7d3 findstr and signal finished. diff -r d14042385d24 -r 28a203bbd2cc docs/ccguide/signal.refentry --- a/docs/ccguide/signal.refentry Tue Oct 22 19:09:04 2002 +0000 +++ b/docs/ccguide/signal.refentry Tue Oct 22 19:09:04 2002 +0000 @@ -21,6 +21,30 @@ Placeholder + +The signals used by OS-9 are defined in the header file as +follows: + + +/* OS-9 signals */ +#define SIGKILL 0 /* system abort (cannot be caught or ignored)*/ +#define SIGWAKE 1 /* wake up */ +#define SIGQUIT 2 /* keyboard abort */ +#define SIGINT 3 /* keyboard interrupt */ + +/* special addresses */ +#define SIG_DFL 0 /* reset to default */ +#define SIG_IGN 1 /* ignore */ + + +Please note that there is another method of trapping signals, +namely "intercept()" (q.v.). However, since "signal()" and +"intercept()" are mutually incompatible, calls to both of them +must not appear in the same program. The link-loader will +preven the creation of an executable program in which both are +called by aborting with an "entry name clash" error for +"_sigint". + See Also