/
niceSOFT
/
coreutils
Обзор
Документация
Войти
/
niceSOFT
/
coreutils
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/term-sig.h
50 строк
814 B
Pádraig Brady
csplit,ls,sort: handle a more complete set of signals
22 ноя 2025, 15:43
22 ноя 2025, 15:43
e63131b
Код
Авторство
О чём код?
#ifndef TERM_SIG_H # define TERM_SIG_H # include <signal.h> static int const term_sig[] = { SIGALRM, /* our timeout. */ SIGINT, /* Ctrl-C at terminal for example. */ SIGQUIT, /* Ctrl-\ at terminal for example. */ SIGHUP, /* terminal closed for example. */ SIGTERM, /* if terminated, stop monitored proc. */ SIGPIPE, SIGUSR1, SIGUSR2, SIGILL, SIGTRAP, SIGABRT, SIGBUS, SIGFPE, SIGSEGV, # ifdef SIGXCPU SIGXCPU, # endif # ifdef SIGXFSZ SIGXFSZ, # endif # ifdef SIGSYS SIGSYS, # endif # ifdef SIGVTALRM SIGVTALRM, # endif # ifdef SIGPROF SIGPROF, # endif # ifdef SIGPOLL SIGPOLL, # endif # ifdef SIGPWR SIGPWR, # endif # ifdef SIGSTKFLT SIGSTKFLT, # endif # ifdef SIGEMT SIGEMT, # endif # ifdef SIGBREAK SIGBREAK, # endif }; #endif