bsd_signal(3) Library Functions Manual bsd_signal(3) bsd_signal - BSD LIBRARY Standard C library (libc, -lc) #include typedef void (*sighandler_t)(int); sighandler_t bsd_signal(int signum, sighandler_t handler); glibc (. feature_test_macros(7)): bsd_signal(): Since glibc 2.26: _XOPEN_SOURCE >= 500 && ! (_POSIX_C_SOURCE >= 200809L) glibc 2.25 and earlier: _XOPEN_SOURCE bsd_signal() , signal(2). , bsd_signal() , : a) , ; b) , ; c) , . signal(2), . bsd_signal() SIG_ERR . signal(2). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |bsd_signal() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ bsd_signal(), sigaction(2). Linux- bsd_signal() signal(2) . signal(2) . . signal(2). sighandler_t GNU; , _GNU_SOURCE. None. 4.2BSD, POSIX.1-2001. Removed in POSIX.1-2008, recommending the use of sigaction(2) instead. sigaction(2), signal(2), sysv_signal(3), signal(7) Artyom Kunyov , Azamat Hackimov , Dmitriy Ovchinnikov , Dmitry Bolkhovskikh , ITriskTI , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . bsd_signal(3)