Searched refs:filefd (Results 1 - 1 of 1) sorted by relevance
/xnu-2422.115.4/tools/tests/kqueue_tests/ |
H A D | kqueue_file_tests.c | 391 int i, kqfd, filefd = -1, res2, res, cnt, status, writefd = -1; local 416 filefd = -1; 417 open_fifo(test->t_watchfile, &filefd, &writefd); 419 filefd = open(test->t_watchfile, O_RDONLY | O_SYMLINK); 422 if (filefd >= 0) { 429 test->t_helpthreadact.act_fd = (writefd >= 0 ? writefd : filefd); 432 read_to_end(filefd); 452 pl.fd = filefd; 462 test->t_union.tu_kev.ident = filefd; 490 close(filefd); [all...] |
Completed in 63 milliseconds