Searched defs:aFds (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Runtime/r3/posix/
H A Dpipe-posix.cpp135 int aFds[2] = {-1, -1}; local
137 if (my_pipe_wrapper(aFds, &s_iNewPipeSyscall))
146 if (fcntl(aFds[0], F_SETFD, 0))
152 if (fcntl(aFds[1], F_SETFD, 0))
161 if (fcntl(aFds[0], F_SETFD, FD_CLOEXEC))
167 if (fcntl(aFds[1], F_SETFD, FD_CLOEXEC))
185 pThisR->fd = aFds[0];
186 pThisW->fd = aFds[1];
209 close(aFds[0]);
210 close(aFds[
[all...]
/vbox/src/VBox/Main/src-server/linux/
H A DHostHardwareLinux.cpp1068 int aFds[2] = {-1, -1}; local
1069 if (pipe(aFds))
1071 if ( fcntl(aFds[0], F_SETFD, FD_CLOEXEC) < 0
1072 || fcntl(aFds[1], F_SETFD, FD_CLOEXEC) < 0)
1075 close(aFds[0]);
1076 close(aFds[1]);
1080 *phPipeRead = aFds[0];
1081 *phPipeWrite = aFds[1];
/vbox/src/VBox/Runtime/r3/
H A Dsocket.cpp2014 int aFds[4] = { pThis->hNative, pThis->hNative, pThis->hNative, -1 }; local
2015 int rc = os2_select(aFds, 1, 1, 1, 0);
2018 if (aFds[0] == pThis->hNative)
2020 if (aFds[1] == pThis->hNative)
2022 if (aFds[2] == pThis->hNative)

Completed in 54 milliseconds