Searched refs:fd1 (Results 1 - 9 of 9) sorted by relevance

/haiku/src/tests/system/benchmarks/
H A Dctxbench.c20 int fd0[2], fd1[2]; variable
38 if (write(fd1[1], &ch, 1) != 1)
43 if (write(fd1[1], &ch, 1) != 1)
102 if (pipe(fd1) != 0)
150 if (read(fd1[0], &ch, 1) != 1)
158 if (read(fd1[0], &ch, 1) != 1)
/haiku/headers/private/fs_shell/
H A Dfssh_unistd.h47 extern int fssh_dup2(int fd1, int fd2);
/haiku/src/libs/stdc++/legacy/
H A Dlibiberty.h52 extern int fdmatch PARAMS ((int fd1, int fd2));
/haiku/headers/build/
H A DBeOSBuildCompatibility.h100 int _haiku_build_dup2(int fd1, int fd2);
143 # define dup2(fd1, fd2) _haiku_build_dup2(fd1, fd2)
/haiku/src/tests/system/network/
H A Dunix_dgram_test.cpp616 int fd1; local
617 memcpy(&fd1, CMSG_DATA(cmsg), sizeof(fd1));
618 if (fd1 == -1) {
619 REPORT_ERROR("recvmsg() failed: unexpected fd %d\n", fd1);
632 status = fstat(fd1, &statbuf1);
650 close(fd1);
/haiku/src/build/libroot/
H A Dremapped_functions.h28 int _haiku_build_dup2(int fd1, int fd2);
H A Dfunction_remapper.cpp124 dup2(int fd1, int fd2) argument
128 return _haiku_build_dup2(fd1, fd2);
H A Dfs.cpp1418 _haiku_build_dup2(int fd1, int fd2) argument
1420 if (is_unknown_or_system_descriptor(fd1))
1421 return dup2(fd1, fd2);
/haiku/headers/posix/
H A Dunistd.h345 extern int dup2(int fd1, int fd2);

Completed in 93 milliseconds