Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DInheritedChannel.java62 dup2(devnull, 0); in detachIOStreams()
63 dup2(devnull, 1); in detachIOStreams()
64 dup2(devnull, 2); in detachIOStreams()
230 private static native void dup2(int fd, int fd2) throws IOException; in dup2() method in InheritedChannel
/libcore/ojluni/src/main/native/
DInheritedChannel.c120 if (dup2(fd, fd2) < 0) { in Java_sun_nio_ch_InheritedChannel_dup2()
170 NATIVE_METHOD(InheritedChannel, dup2, "(II)V"),
Dio_util_md.c128 dup2(devnull, fd); in fileClose()
Dnet_util_md.h77 #define NET_Dup2 dup2
Dlinux_close.cpp72 rv = dup2(fd1, fd2); in closefd()
DFileDispatcherImpl.c248 if (dup2(preCloseFD, fd) < 0) { in FileDispatcherImpl_preClose0()
DUNIXProcess_md.c377 RESTARTABLE(dup2(fd_from, fd_to), err); in restartableDup2()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java64 …public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2 in dup2() method in ForwardingOs
DOs.java55 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method
DPosix.java58 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; in dup2() method in Posix
/libcore/luni/src/main/java/android/system/
DOs.java95 …public static FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return … in dup2() method in Os
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp828 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); in Posix_dup2()
1975 NATIVE_METHOD(Posix, dup2, "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;"),