View Javadoc

1   // FileDescriptor.java, created Fri Apr  5 18:36:41 2002 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package joeq.ClassLib.sun15_win32.java.io;
5   
6   /*
7    * @author  John Whaley <jwhaley@alum.mit.edu>
8    * @version $Id: FileDescriptor.java 1451 2004-03-09 06:27:08Z jwhaley $
9    */
10  class FileDescriptor {
11      int fd;
12      private long handle;
13      
14      static FileDescriptor in;
15      static FileDescriptor out;
16      static FileDescriptor err;
17      
18      public static void init() {
19          in.fd = 0;
20          out.fd = 1;
21          err.fd = 2;
22      }
23      
24  }