Lines Matching refs:sig
44 signal(int sig, __sighandler_t *func) in signal() argument
48 if (sig < 0 || sig >= SIG_LAST) { in signal()
52 OldHandler = gMD->sigarray[sig]; in signal()
53 gMD->sigarray[sig] = func; in signal()
60 _defaultSignalHandler( int sig ) in _defaultSignalHandler() argument
62 Print(L"\nCaught signal %d.\n", sig); in _defaultSignalHandler()
77 raise( int sig) in raise() argument
81 if (sig < 0 || sig >= SIG_LAST) { in raise()
84 Handler = gMD->sigarray[sig]; in raise()
87 _defaultSignalHandler( sig ); in raise()
90 Handler( sig ); in raise()