REFERENCE SHEET 2025 Dr Mahmood Dahl CS354 Final Exam A 202509 Page 1 of 2 CS354 Machine Organization and Programming Final Exam A 202509 Signals cat usr include asm unistd 32 h selected system call codes define exit 1 define read 3 define execve 11 define fork 2 define write 4 define alarm 27 define open 5 define close 6 man kill NAME kill options pid OPTIONS s signal Specify the signal to be sent The signal can be specified by using name or number kill l selected signal code values 1 SIGHUP 6 SIGABRT 11 SIGSEGV 16 SIGSTKFLT 21 SIGTTIN 26 SIGVTALRM 2 SIGINT 7 SIGBUS 12 SIGUSR2 13 SIGPIPE 17 SIGCHLD 18 SIGCONT 22 SIGTTOU 23 SIGURG 27 SIGPROF 28 SIGWINCH 3 SIGQUIT 8 SIGFPE 4 SIGILL 5 SIGTRAP 9 SIGKILL 10 SIGUSR1 14 SIGALRM 15 SIGTERM 19 SIGSTOP 20 SIGTSTP 24 SIGXCPU 25 SIGXFSZ 30 SIGPWR 29 SIGIO man sigaction int sigaction int signum const struct sigaction act struct sigaction oldact Note sigaction cannot send SIGKILL or SIGSTOP 2025 Dr Mahmood Dahl CS354 Final Exam A 202509 Page 2 of 2
View Full Document
Unlocking...