Searched refs:status_fd (Results 1 - 6 of 6) sorted by relevance
/netbsd-current/external/ibm-public/postfix/dist/src/master/ |
H A D | master_status.c | 83 switch (n = read(serv->status_fd[0], (void *) &stat, sizeof(stat))) { 159 if (serv->status_fd[0] >= 0 || serv->status_fd[1] >= 0) 169 if (duplex_pipe(serv->status_fd) < 0) 171 non_blocking(serv->status_fd[0], BLOCKING); 172 close_on_exec(serv->status_fd[0], CLOSE_ON_EXEC); 173 close_on_exec(serv->status_fd[1], CLOSE_ON_EXEC); 174 event_enable_read(serv->status_fd[0], master_status_event, (void *) serv); 186 if (serv->status_fd[0] < 0 || serv->status_fd[ [all...] |
H A D | master_spawn.c | 212 close(serv->status_fd[0]); /* status channel */ 213 if (serv->status_fd[1] <= MASTER_STATUS_FD) 215 if (DUP2(serv->status_fd[1], MASTER_STATUS_FD) < 0) 216 msg_fatal("%s: dup2 status_fd: %m", myname); 217 (void) close(serv->status_fd[1]);
|
H A D | master.h | 54 int status_fd[2]; /* child status reports */ member in struct:MASTER_SERV
|
H A D | master_ent.c | 541 serv->status_fd[0] = serv->status_fd[1] = -1; 624 msg_info("status_fd %d %d", serv->status_fd[0], serv->status_fd[1]);
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | procfs.c | 236 int status_fd; /* File descriptor for /proc status file */ member in struct:procinfo 428 pi->status_fd = fd; 490 if (pi->status_fd > 0) 491 close (pi->status_fd); 492 pi->ctl_fd = pi->as_fd = pi->status_fd = 0; 626 if (pi->status_fd == 0 && open_procinfo_files (pi, FD_STATUS) == 0) 632 if (lseek (pi->status_fd, 0, SEEK_SET) < 0) 639 pi->status_valid = (read (pi->status_fd, 645 pi->status_valid = (read (pi->status_fd,
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | procfs.c | 237 int status_fd; /* File descriptor for /proc status file */ member in struct:procinfo 429 pi->status_fd = fd; 491 if (pi->status_fd > 0) 492 close (pi->status_fd); 493 pi->ctl_fd = pi->as_fd = pi->status_fd = 0; 619 if (pi->status_fd == 0 && open_procinfo_files (pi, FD_STATUS) == 0) 625 if (lseek (pi->status_fd, 0, SEEK_SET) < 0) 632 pi->status_valid = (read (pi->status_fd, 638 pi->status_valid = (read (pi->status_fd,
|
Completed in 117 milliseconds