HomeSort by relevance Sort by last modified time
    Searched defs:dupfd (Results 1 - 5 of 5) 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/
nodes.h 115 int dupfd; member in struct:ndup
  /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 355 milliseconds