This chapter describes the DOS unit for Free pascal. The DOS unit gives access to some operating system calls related to files, the file system, date and time. Except for the PALMOS target, this unit is available to all supported platforms.
The unit was first written for DOS by Florian Klämpfl. It was ported to LINUX by Mark May1, and enhanced by Michaël Van Canneyt. The AMIGA version was ported by Nils Sjoholm.
Under non-DOS systems, some of the functionality is lost, as it is either impossible or meaningless to implement it. Other than that, the functionality for all operating systems is the same.
This chapter is divided in three sections: