Searched refs:writefd (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlmbench_bw_unix.c74 void writer(int controlfd, int writefd, char* buf, void* cookie);
322 writer(int controlfd, int writefd, char* buf, void* cookie) argument
333 if ((n = write(writefd, buf, state->xfer)) < 0) {
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c156 open_fifo(const char *path, int *readfd, int *writefd) argument
172 *writefd = tmpwritefd;
391 int i, kqfd, filefd = -1, res2, res, cnt, status, writefd = -1; local
417 open_fifo(test->t_watchfile, &filefd, &writefd);
429 test->t_helpthreadact.act_fd = (writefd >= 0 ? writefd : filefd);
436 dowr.act_fd = writefd;
492 close(writefd);

Completed in 83 milliseconds