AI 144124: Avoid leaking a pty file descriptor when quitting the terminal.

BUG=1750582

Automated import of CL 144124
This commit is contained in:
Jack Palevich
2009-04-02 10:04:28 -07:00
committed by The Android Open Source Project
parent 57392cb174
commit 74285ab548
3 changed files with 32 additions and 1 deletions

View File

@@ -63,5 +63,10 @@ public class Exec
*
*/
public static native int waitFor(int processId);
/**
* Close a given file descriptor.
*/
public static native void close(FileDescriptor fd);
}