home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Psigreturn(2) Oct. 1, 1991 Psigreturn(2)
-
-
- N✓NA✓AM✓ME✓E
- Psigreturn - exit from a signal handler
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- void Psigreturn();
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓s_✓i_✓g_✓r_✓e_✓t_✓u_✓r_✓n is used to prepare to exit from a signal han-
- dler. This is done automatically by the kernel when a sig-
- nal handler returns, so it is needed only before a program
- uses the C _✓l_✓o_✓n_✓g_✓j_✓m_✓p function (or some similar facility) to
- do a non-local jump. _✓P_✓s_✓i_✓g_✓r_✓e_✓t_✓u_✓r_✓n will fail (harmlessly) if
- no signal is being processed at the time it is called.
-
- Note that the MiNT library _✓l_✓o_✓n_✓g_✓j_✓m_✓p function already con-
- tains a call to _✓P_✓s_✓i_✓g_✓r_✓e_✓t_✓u_✓r_✓n, so if you're using that
- library you don't need to worry about this.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓P_✓s_✓i_✓g_✓n_✓a_✓l(2)
-
- B✓BU✓UG✓GS✓S
- Calling _✓P_✓s_✓i_✓g_✓r_✓e_✓t_✓u_✓r_✓n from a signal handler, and then actu-
- ally returning from that handler, is likely to produce
- extremely unpleasant results.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-