We know:
-------------------------------------------------------
Handle Numeric handle code Description
STDIN 0 Keyboard input
STDOUT 1 Output to the command prompt window
STDERR 2 Error output to the command prompt window
UNDEFINED 3-9 These handles are defined separately by applications and specific tools.
-------------------------------------------------------
What I want to ask is, how are 3-9 defined in specific tools, are there any examples?
Any code snippets in c, c++, java, perl, python, etc. are fine...
-------------------------------------------------------
Handle Numeric handle code Description
STDIN 0 Keyboard input
STDOUT 1 Output to the command prompt window
STDERR 2 Error output to the command prompt window
UNDEFINED 3-9 These handles are defined separately by applications and specific tools.
-------------------------------------------------------
What I want to ask is, how are 3-9 defined in specific tools, are there any examples?
Any code snippets in c, c++, java, perl, python, etc. are fine...
