Hi.
Everytime I open a file using INT 21h the system returns
file handle number 5. In plain DOS, AND under Win95.
I came accros some other guy's code and he used file handle
0 (zero) to output text to the screen. Now, I know there are
certain other devices that correspond to certain filehandle
numbers, like stdin and stderr.
Does anybody know what filehandle corresponds to which
device?
I do not want to experiment by writing to, and reading from
filehandle numbers 0 to 4 since I might screw up some file
that the OS uses (like COMMAND.COM or the Windows swap
file or whatever).
Thank You.
Everytime I open a file using INT 21h the system returns
file handle number 5. In plain DOS, AND under Win95.
I came accros some other guy's code and he used file handle
0 (zero) to output text to the screen. Now, I know there are
certain other devices that correspond to certain filehandle
numbers, like stdin and stderr.
Does anybody know what filehandle corresponds to which
device?
I do not want to experiment by writing to, and reading from
filehandle numbers 0 to 4 since I might screw up some file
that the OS uses (like COMMAND.COM or the Windows swap
file or whatever).
Thank You.