Borland C++ reference
Borland C++ 3.1 ›

<dos.h>

_8087Coprocessor chip flag.
_argcKeeps a count of command-line arguments.
_argvAn array of pointers to command-line arguments.
_chain_intrChains to another interrupt handler.
_chmodGets or sets DOS file attributes.
_creat, _dos_creatCreates a new file or overwrites an existing one.
_dos_closeCloses a file.
_dos_creatnewCreates a new file.
_dos_findfirstSearches a disk directory.
_dos_findnextContinues _dos_findfirst search.
_dos_getdiskfreeGets disk free space.
_dos_getdrive, _dos_setdriveGets and sets the current drive number.
_dos_getfileattr, _dos_setfileattrChanges file access mode.
_dos_getftime, _dos_setftimeGets and sets file date and time.
_dos_gettime, _dos_settimeGets and sets system time.
_dos_getvectGets interrupt vector.
_dos_setvectSets interrupt vector entry.
_dos_writeWrites to a file.
_harderrEstablishes a hardware error handler.
_hardresumeHardware error handler.
_hardretnHardware error handler.
_heaplenHolds the length of the near heap.
_osmajor, _osminorContain the major and minor DOS version numbers.
_ovrbufferChange the size of the overlay buffer.
_OvrInitEmsInitializes expanded memory swapping for the overlay manager.
_OvrInitExtInitializes extended memory swapping for the overlay manager.
_pspContains the segment address of the program segment prefix (PSP) for the current program.
_stklenHolds size of the stack.
_versionContains the DOS version number.
absreadReads absolute disk sectors.
abswriteWrites absolute disk sectors.
allocmem, _dos_allocmemAllocates DOS memory segment.
bdosAccesses DOS system calls.
bdosptrAccesses DOS system calls.
countryReturns country-dependent information.
creatnewCreates a new file.
creattempCreates a unique file in the directory associated with the path name.
ctrlbrkSets control-break handler.
delaySuspends execution for an interval (milliseconds).
disable, _disable, enable, _enableDisables and enables interrupts.
dosexterrGets extended DOS error information.
dostounixConverts date and time to UNIX time format.
ellipseDraws an elliptical arc. Inserts literal values directly into code.
environAccesses DOS environment variables.
FP_OFF, FP_SEGGets a far address offset or segment.
freemem, _dos_freememFrees a previously allocated DOS memory block.
geninterruptGenerates a software interrupt.
getcbrkGets control-break setting.
getdate, _dos_getdate, _dos_setdate, setdateGets and sets system date.
getdfreeGets disk free space.
getdtaGets disk transfer address.
getfatGets file allocation table information for given drive.
getfatdGets file allocation table information.
getpspGets the program segment prefix.
gettime, settimeGets and sets the system time.
getvect, setvectGets and sets interrupt vector.
getverifyReturns the state of the DOS verify flag.
harderr, hardresume, hardretnEstablishes and handles hardware errors.
inportReads a word from a hardware port.
inportbReads a byte from a hardware port.
int86General 8086 software interrupt.
int86xGeneral 8086 software interrupt interface.
intdosGeneral DOS interrupt interface.
intdosxGeneral DOS interrupt interface.
intrAlternate 8086 software interrupt interface.
keep, _dos_keepExits and remains resident.
MK_FPMakes a far pointer.
nosoundTurns PC speaker off.
outport, outportbOutputs a word or byte to a hardware port.
parsfnmParses file name.
peekReturns the word at memory location specified by segmentioffset.
peekbReturns the byte of memory specified by segmentoffset.
pokeStores an integer value at a memory location given by segment-.offset.
pokebStores a byte value at memory location segmentoffset.
randbrdReads random block.
randbwrWrites random block.
segreadReads segment registers.
setblock, _dos_setblockModifies the size of a previously allocated block.
setcbrkSets control-break setting.
setdtaSets disk-transfer address.
setverifySets the state of the verify flag in DOS.
sleepSuspends execution for an interval (seconds).
soundTurns PC speaker on at specified frequency.
unixtodos