49 |
*/ |
*/ |
50 |
public final class FileDescriptor |
public final class FileDescriptor |
51 |
{ |
{ |
52 |
|
/** |
53 |
|
* A <code>FileDescriptor</code> representing the system standard input |
54 |
|
* stream. This will usually be accessed through the |
55 |
|
* <code>System.in</code>variable. |
56 |
|
*/ |
57 |
|
public static final FileDescriptor in = null; |
58 |
|
|
59 |
|
/** |
60 |
|
* A <code>FileDescriptor</code> representing the system standard output |
61 |
|
* stream. This will usually be accessed through the |
62 |
|
* <code>System.out</code>variable. |
63 |
|
*/ |
64 |
|
public static final FileDescriptor out = null; |
65 |
|
|
66 |
|
/** |
67 |
|
* A <code>FileDescriptor</code> representing the system standard error |
68 |
|
* stream. This will usually be accessed through the |
69 |
|
* <code>System.err</code>variable. |
70 |
|
*/ |
71 |
|
public static final FileDescriptor err = null; |
72 |
|
|
73 |
static |
static |
74 |
{ |
{ |
75 |
if (Configuration.INIT_LOAD_LIBRARY) |
if (Configuration.INIT_LOAD_LIBRARY) |
94 |
static final int SYNC = 16; |
static final int SYNC = 16; |
95 |
|
|
96 |
/** |
/** |
|
* A <code>FileDescriptor</code> representing the system standard input |
|
|
* stream. This will usually be accessed through the |
|
|
* <code>System.in</code>variable. |
|
|
*/ |
|
|
public static final FileDescriptor in = null; |
|
|
|
|
|
/** |
|
|
* A <code>FileDescriptor</code> representing the system standard output |
|
|
* stream. This will usually be accessed through the |
|
|
* <code>System.out</code>variable. |
|
|
*/ |
|
|
public static final FileDescriptor out = null; |
|
|
|
|
|
/** |
|
|
* A <code>FileDescriptor</code> representing the system standard error |
|
|
* stream. This will usually be accessed through the |
|
|
* <code>System.err</code>variable. |
|
|
*/ |
|
|
public static final FileDescriptor err = null; |
|
|
|
|
|
/** |
|
97 |
* This is the actual native file descriptor value |
* This is the actual native file descriptor value |
98 |
*/ |
*/ |
99 |
private long nativeFd = -1L; |
private long nativeFd = -1L; |