Article View: comp.os.msdos.programmer
Article #3335Re: File/device handles
From: Sanjay Aiyagari
Date: Sun, 09 Dec 1990 08:41
Date: Sun, 09 Dec 1990 08:41
13 lines
1058 bytes
1058 bytes
In article <1990Dec8.050109.24482@wpi.WPI.EDU>, jhall@wpi.WPI.EDU (John Clinton Hall) writes: > >Where can I get a list of MD-DOS device handles, such as those used by INT >21/40 (write to file or device handle)? I have searched my manuals, but to no >avail. DOS uses file handles 0-4 for special devices (I believe it is standard input, standard output, standard error, auxiliary device, and standard printer). Other than that, you get the file handle when you issue a create or open function call, and this is what you use when you call function 40h to write to a file. Sanjay Aiyagari (hd7x@vax5.cit.cornell.edu)
Technical Details
Message-ID:
<1990Dec9.044112.1469@vax5.cit.cornell.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!vax5.cit.cornell.edu!hd7xReferences:
<1990Dec8.050109.24482@wpi.WPI.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!vax5.cit.cornell.edu!hd7x From: hd7x@vax5.cit.cornell.edu (Sanjay Aiyagari) Newsgroups: comp.os.msdos.programmer Subject: Re: File/device handles Message-ID: <1990Dec9.044112.1469@vax5.cit.cornell.edu> Date: 9 Dec 90 08:41:11 GMT References: <1990Dec8.050109.24482@wpi.WPI.EDU> Distribution: comp Lines: 13