qc.hlp (Table of Contents; Topic list)
raise
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The raise function sends <sig> to the executing program. If a
     signal-handling routine for <sig> has been installed by a prior
     call to signal, raise causes the routine to be executed. If
     no handler routine has been installed, the default action is
     taken.
 
     The signal value <sig> can be one of the following manifest
     constants:
 
     Signal       Meaning                     Default Action
 
     SIGABRT      Abnormal termination.       Terminates the calling
                                              program with exit code 3.
 
     SIGBREAK     CTRL+BREAK interrupt.       Terminates the calling
                                              program with exit code 3.
 
     SIGFPE       Floating-point error.       Terminates the calling
                                              program.
 
     SIGILL       Illegal instruction.        Terminates the calling
                  This signal is not          program
                  generated by DOS or
                  OS/2, but is supported
                  for ANSI compatibility.
 
     SIGINT       CTRL+C interrupt.           Issues INT 23H.
 
     SIGSEGV      Illegal storage access.     Terminates the calling
                  This signal is not          program.
                  generated by DOS or
                  OS/2, but is supported
                  for ANSI compatibility.
 
     SIGTERM      Termination request         Ignores the signal.
                  sent to program. This
                  signal is not generated
                  by DOS or OS/2, but is
                  supported for ANSI
                  compatibility.
 
     SIGUSR1      User-defined signals        Ignores the signal.
     SIGUSR2
     SIGUSR3
 
     Return Value
 
     If successful, the raise function returns 0. Otherwise, it returns
     a nonzero value.
                                    -♦-