[147] in java-interest

home help back first fref pref prev next nref lref last post

Re: System.out/in

daemon@ATHENA.MIT.EDU (Peter Parnes)
Tue May 30 12:12:01 1995

To: java-interest@java.Eng.Sun.COM
Date: Tue, 30 May 1995 08:48:11 +0200
From: Peter Parnes <peppar@cdt.luth.se>

> 
> 	InputStream in = new FileInputStream(0);
> 
> Don't use System.in at the same time as this new InputStream!
> 

So it it really necessary to use '0'. Shouldn't there be some kind of 
alias-name for this, say stdin? (Does the UNIX-concept of stdin/stdout/stderr 
exist on Macs and Windows?? What I mean, does the code-line above work on a 
other than UNIX-plattforms?) 

/P

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post