^ —————. —.— . . —.— . . .————— . .
——— | | | | | | || | | | |
—(o)— | | | | | | | | | |———— '————|
——————— | | | | | | | || | |
————————— —————' —'— ' —'— ' ' '————— '
home manual roadmap issues status papers download
File sigaction.patch, 390 bytes (added by Lukáš Zaoral, 5 years ago) |
|
-
a
|
b
|
|
255 | 255 | |
256 | 256 | if ( oldact ) |
257 | 257 | oldact->sa_handler = sighandlers[sig].f; |
258 | | sighandlers[sig].f = act->sa_handler; |
| 258 | |
| 259 | if ( act ) |
| 260 | sighandlers[sig].f = act->sa_handler; |
| 261 | |
259 | 262 | return 0; |
260 | 263 | } |
261 | 264 | |