OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [lang/] [EcosProcess.java] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
// EcosProcess.java - Subclass of Process for eCos systems.
2
 
3
/* Copyright (C) 1998, 1999, 2006, 2007  Free Software Foundation
4
 
5
   This file is part of libgcj.
6
 
7
This software is copyrighted work licensed under the terms of the
8
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9
details.  */
10
 
11
package java.lang;
12
 
13
import java.io.File;
14
import java.io.InputStream;
15
import java.io.OutputStream;
16
import java.io.IOException;
17
 
18
/**
19
 * @author Tom Tromey <tromey@cygnus.com>
20
 * @date May 11, 1999
21
 */
22
 
23
// This is entirely internal to our implementation.
24
 
25
final class EcosProcess extends Process
26
{
27
  // See natEcosProcess.cc to understand why this is native.
28
  public native void destroy ();
29
 
30
  public int exitValue ()
31
  {
32
    return 0;
33
  }
34
  public InputStream getErrorStream ()
35
  {
36
    return null;
37
  }
38
 
39
  public InputStream getInputStream ()
40
  {
41
    return null;
42
  }
43
 
44
  public OutputStream getOutputStream ()
45
  {
46
    return null;
47
  }
48
 
49
  public int waitFor () throws InterruptedException
50
  {
51
    return 0;
52
  }
53
 
54
  public EcosProcess (String[] progarray, String[] envp, File dir,
55
                      boolean redirect)
56
    throws IOException
57
  {
58
    throw new IOException ("eCos processes unimplemented");
59
  }
60
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.