DOS specific functions that don't fit into other dirs
