Searched refs:dup2 (Results 1 - 12 of 12) sorted by last modified time
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 828 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); 1975 NATIVE_METHOD(Posix, dup2, "(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor;"),
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | InheritedChannel.java | 56 * simple dup2 operation for each of the standard streams. 62 dup2(devnull, 0); 63 dup2(devnull, 1); 64 dup2(devnull, 2); 230 private static native void dup2(int fd, int fd2) throws IOException; method in class:InheritedChannel
|
/libcore/ojluni/src/main/native/ |
H A D | FileDispatcherImpl.c | 248 if (dup2(preCloseFD, fd) < 0) { 249 JNU_ThrowIOExceptionWithLastError(env, "dup2 failed");
|
H A D | InheritedChannel.c | 120 if (dup2(fd, fd2) < 0) { 121 JNU_ThrowIOExceptionWithLastError(env, "dup2 failed"); 170 NATIVE_METHOD(InheritedChannel, dup2, "(II)V"),
|
H A D | UNIXProcess_md.c | 377 RESTARTABLE(dup2(fd_from, fd_to), err);
|
H A D | io_util_md.c | 128 dup2(devnull, fd);
|
H A D | linux_close.cpp | 51 * Close or dup2 a file descriptor ensuring that all threads blocked on 55 * fd1 >= 0 => dup2(fd1, fd2) 72 rv = dup2(fd1, fd2); 79 * Wrapper for dup2 - same semantics as dup2 system call except
|
H A D | net_util_md.h | 77 #define NET_Dup2 dup2
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 93 * See <a href="http://man7.org/linux/man-pages/man2/dup2.2.html">dup2(2)</a>. 95 public static FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return Libcore.os.dup2(oldFd, newFd); } method in class:Os
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ForwardingOs.java | 64 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd, newFd); } method in class:ForwardingOs
|
H A D | Os.java | 55 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; method in interface:Os
|
H A D | Posix.java | 58 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException; method in class:Posix
|
Completed in 887 milliseconds