public KStdFile(Kernel kernel, KSpecialFileHandle specialFileHandle) : base(kernel) { UID = ( uint )specialFileHandle; switch (specialFileHandle) { case KSpecialFileHandle.StdIn: _name = "stdin"; break; case KSpecialFileHandle.StdOut: _name = "stdout"; break; case KSpecialFileHandle.StdErr: _name = "stderr"; break; } _sb = new StringBuilder(); }
public KStdFile( Kernel kernel, KSpecialFileHandle specialFileHandle ) : base(kernel) { UID = ( uint )specialFileHandle; switch( specialFileHandle ) { case KSpecialFileHandle.StdIn: _name = "stdin"; break; case KSpecialFileHandle.StdOut: _name = "stdout"; break; case KSpecialFileHandle.StdErr: _name = "stderr"; break; } _sb = new StringBuilder(); }