2 * The console module contains some simple routines for console output.
4 * Copyright: Public Domain
5 * License: Public Domain
8 module rt.util.console;
15 import sys.windows.windows;
19 import stdc.posix.unistd;
27 Console opCall( in char[] val )
32 WriteFile( GetStdHandle( 0xfffffff5 ), val.ptr, val.length, &count, null );
36 write( 2, val.ptr, val.length );
42 Console opCall( uint val )
45 return opCall( tmp.intToString( val ) );