play tricks to close fd manually

This commit is contained in:
Max Lv
2015-07-24 23:07:58 +08:00
parent 541f8de2cf
commit abb97e16c4
3 changed files with 10 additions and 0 deletions
@@ -46,4 +46,5 @@ public class System {
public static native void exec(String cmd);
public static native String getABI();
public static native int sendfd(int fd);
public static native void jniclose(int fd);
}