Class of snx.android.os · Fds.java
public final class Fds
The host descriptors of java.io.FileDescriptor, which the runtime reads and makes (runtime/fds.c).
public static native int of(FileDescriptor fd) native sourcethe descriptor, -1 for none
public static native FileDescriptor wrap(int fd) native sourcea FileDescriptor of the descriptor, which owns it from now on
public static native int dup(int fd) native sourcea second descriptor of the same open file, or -errno
public static native int close(int fd) native source0 or -errno
public static native long size(int fd) native sourcethe size of a regular file, else -1
Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.