HomeSort by relevance Sort by last modified time
    Searched refs:dupfd (Results 1 - 10 of 10) sorted by null

  /external/bison/lib/
dup2.c 121 dupfd (int fd, int desired_fd) function
128 int r = dupfd (fd, desired_fd);
151 result = dupfd (fd, desired_fd);
fcntl.c 50 dupfd (int oldfd, int newfd, int flags) function
181 result = dupfd (fd, target, 0);
222 result = dupfd (fd, target, O_CLOEXEC);
  /external/dropbear/
scpmisc.c 231 int nullfd, dupfd; local
233 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
237 while (++dupfd <= 2) {
239 if (fcntl(dupfd, F_GETFL, 0) >= 0)
241 if (dup2(nullfd, dupfd) == -1) {
  /system/core/sh/
redir.c 133 n->ndup.dupfd == fd)
222 if (redir->ndup.dupfd >= 0) { /* if not ">&-" */
223 if (memory[redir->ndup.dupfd])
226 copyfd(redir->ndup.dupfd, fd);
nodes.h 115 int dupfd; member in struct:ndup
nodes.c 280 new->ndup.dupfd = n->ndup.dupfd;
show.c 155 fprintf(fp, "%d", np->ndup.dupfd);
parser.c 624 n->ndup.dupfd = digit_val(text[0]);
626 n->ndup.dupfd = -1;
    [all...]
jobs.c 1362 s[0] = n->ndup.dupfd + '0';
  /external/openssh/
misc.c 720 int nullfd, dupfd; local
722 if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
727 while (++dupfd <= 2) {
729 if (fcntl(dupfd, F_GETFL, 0) >= 0)
731 if (dup2(nullfd, dupfd) == -1) {

Completed in 120 milliseconds