Searched refs:sact (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl16.c | 299 struct sigaction sact; in dochild() local 300 sact.sa_flags = 0; in dochild() 301 sact.sa_handler = catch_int; in dochild() 302 sigemptyset(&sact.sa_mask); in dochild() 303 (void)sigaction(SIGUSR1, &sact, NULL); in dochild() 402 struct sigaction sact; in setup() local 425 memset(&sact, 0, sizeof(sact)); in setup() 426 sact.sa_handler = catch_usr1; in setup() 427 sigemptyset(&sact.sa_mask); in setup() 428 sigaddset(&sact.sa_mask, SIGUSR1); in setup() [all …]
|
/third_party/ltp/testcases/realtime/func/gtod_latency/ |
D | gtod_infinite.c | 112 struct sigaction sact; in main() local 116 sigfillset(&sact.sa_mask); in main() 117 sact.sa_handler = alarm_handler; in main() 118 rc = sigaction(SIGALRM, &sact, NULL); in main()
|
/third_party/lwip/test/unit/api/ |
D | test_sockets.c | 690 int sl, sact; in START_TEST() local 720 sact = lwip_socket(AF_INET, SOCK_STREAM, 0); in START_TEST() 721 fail_unless(sact >= 0); in START_TEST() 725 ret = lwip_ioctl(sact, FIONBIO, &arg); in START_TEST() 729 ret = lwip_connect(sact, (struct sockaddr *)&sa_listen, sizeof(sa_listen)); in START_TEST() 744 ret = lwip_connect(sact, (struct sockaddr *)&sa_listen, sizeof(sa_listen)); in START_TEST() 765 ret = lwip_send(sact, txbuf, sizeof(txbuf), 0); in START_TEST() 772 sact_sock = lwip_socket_dbg_get_socket(sact); in START_TEST() 822 ret = lwip_close(sact); in START_TEST()
|