Searched refs:dup2 (Results 1 – 8 of 8) sorted by relevance
145 dup2(devnull, fd); in fileClose()
83 #define NET_Dup2 dup2
79 rv = dup2(fd1, fd2); in closefd()
278 if (dup2(preCloseFD, fd) < 0) { in FileDispatcherImpl_preClose0()
381 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
237 Libcore.os.dup2(markerFD, fd.getInt$()); in socketClose0()
219 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2… in dup2() method in ForwardingOs
157 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method