Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - dos.h http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                               dos.h

This  file  contains  global variable  declarations,  type  and  macro
definitions   and  function  declarations  for  the  MSDOS   interface
functions, including the DOS_Package. It also contains inline versions
of inp, inpw, outp and outpw.

The following global variables are declared:
_psp      _osmajor  _osminor
_osmode   _doserrno;

This file also contains declarations for the following structures:
struct WORDREGS
struct BYTEREGS
union  REGS
struct SREGS
struct FIND
struct DOSERROR
struct dos_date_t
struct dos_time_t

The macros defined are:
FP_SEG    FP_OFF    MK_FP

The file dos.h contains the following function prototypes:
int86               int86x              intdos
intdosx             segread             findfirst
_farptr_norm        _farptr_fromlong    _farptr_tolong
farmalloc           farcalloc           farrealloc
farfree             farcoreleft         dos_set_verify
dos_set_ctrl_break  dos_get_verify      dos_get_ctrl_break
dos_abs_disk_read   dos_abs_disk_write  dos_getdiskfreespace
dos_setblock        dos_setdrive        dos_getdrive
dos_setftime        dos_getftime        dos_setfileattr
dos_getfileattr     dos_exterror        dosexterror
dos_setdate         dos_getdate         dos_settime
dos_gettime         _chkstack           peek
poke                bdos                bdosx
dos_alloc           dos_calloc          dos_free
dos_avail

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson