RAISE(3) BSD Programmer's Manual RAISE(3) NNAAMMEE rraaiissee - send a signal to the current process SSYYNNOOPPSSIISS ##iinncclluuddee <> _i_n_t rraaiissee(_i_n_t _s_i_g); DDEESSCCRRIIPPTTIIOONN The rraaiissee() function sends the signal _s_i_g to the current process. RREETTUURRNN VVAALLUUEESS Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and the global variable _e_r_r_n_o is set to indicate the error. EERRRROORRSS The rraaiissee() function may fail and set _e_r_r_n_o for any of the errors speci- fied for the library functions getpid(2) and kill(2). SSEEEE AALLSSOO kill(2) SSTTAANNDDAARRDDSS The rraaiissee() function conforms to ANSI C X3.159-1989 (``ANSI C ''). 4.4BSD June 4, 1993 1