China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 12:15
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] How to define the unused devices 3-9 in DOS redirection View 842 Replies 0
Original Poster Posted 2007-10-29 22:22 ·  中国 上海 电信
初级用户
★★
Credits 184
Posts 73
Joined 2007-05-24 18:06
19-year member
UID 89185
Gender Male
Status Offline
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...
Forum Jump: