Searched refs:thepipe (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10.1/apr-32/apr/apr/file_io/netware/
H A Dpipe.c26 static apr_status_t pipeblock(apr_file_t *thepipe) argument
31 if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1)
34 fcntl(thepipe->filedes, F_SETFL, flags);
38 fcntl(thepipe->filedes, F_SETFL, 0);
44 thepipe->blocking = BLK_ON;
48 static apr_status_t pipenonblock(apr_file_t *thepipe) argument
54 if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1)
57 fcntl(thepipe->filedes, F_SETFL, flags);
61 fcntl(thepipe->filedes, F_SETFL, FNDELAY);
67 thepipe
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/
H A Dpipe.c144 APR_DECLARE(apr_status_t) apr_file_pipe_timeout_set(apr_file_t *thepipe, apr_interval_time_t timeout)
146 if (thepipe->pipe == 1) {
147 thepipe->timeout = timeout;
149 if (thepipe->timeout >= 0) {
150 if (thepipe->blocking != BLK_OFF) {
151 thepipe->blocking = BLK_OFF;
152 return APR_FROM_OS_ERROR(DosSetNPHState(thepipe->filedes, NP_NOWAIT));
155 else if (thepipe->timeout == -1) {
156 if (thepipe->blocking != BLK_ON) {
157 thepipe
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/unix/
H A Dpipe.c36 static apr_status_t pipeblock(apr_file_t *thepipe) argument
41 fd_flags = fcntl(thepipe->filedes, F_GETFL, 0);
52 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) {
59 if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) {
68 thepipe->blocking = BLK_ON;
72 static apr_status_t pipenonblock(apr_file_t *thepipe) argument
75 int fd_flags = fcntl(thepipe->filedes, F_GETFL, 0);
87 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) {
95 if (ioctl(thepipe->filedes, FIONBIO, &on, sizeof(on)) < 0) {
104 thepipe
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/win32/
H A Dpipe.c37 APR_DECLARE(apr_status_t) apr_file_pipe_timeout_set(apr_file_t *thepipe,
42 thepipe->timeout = timeout;
45 if (!thepipe->pipe) {
48 if (timeout && !(thepipe->pOverlapped)) {
52 thepipe->timeout = timeout;
56 APR_DECLARE(apr_status_t) apr_file_pipe_timeout_get(apr_file_t *thepipe,
60 *timeout = thepipe->timeout;
/macosx-10.10.1/apr-32/apr/apr/include/
H A Dapr_file_io.h711 * @param thepipe The pipe we are getting a timeout for.
714 APR_DECLARE(apr_status_t) apr_file_pipe_timeout_get(apr_file_t *thepipe,
719 * @param thepipe The pipe we are setting a timeout on.
723 APR_DECLARE(apr_status_t) apr_file_pipe_timeout_set(apr_file_t *thepipe,

Completed in 67 milliseconds