struct sigaction { void (*sa_handler)(int); void (*sa_sigaction)(int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; void (*sa_restorer)(void); }; |
sigaddset(&act.sa_mask,3); |
name=value -O1,-O2,-O3,-Os,-Ofast |
volatile int quit =0; |
signal(SIGCHLD, SIG_DFL); |
while :; do ps ajx | head -1 | ps ajx| grep mysignal; sleep 1; echo "----------------"; done |
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |