For 16 bit programs, we need the 16 bit filename.
Create directories up to filename. Input: name path/filename
Write a file.
Return size of OS critical section. NOTE: can't use the sizeof() calls directly since cross compiling is supported and would end up using the host sizes rather than the target sizes.
Return size of OS critical section. NOTE: can't use the sizeof() calls directly since cross compiling is supported and would end up using the host sizes rather than the target sizes.
Called when there is an error returned by the operating system. This function does not return.
Return !=0 if file exists. 0: file doesn't exist 1: normal file 2: directory
Do our own storage allocator (being suspicious of the library one).
Do our own storage allocator (being suspicious of the library one).
///////////////////////////////////////
Determine a base address that we can use for mapping files to.
Commit memory.
Return amount of physical memory.
Functions to manage allocating a single virtual address space.
Calculate the amount of memory to reserve, adjusting *psize downwards.
Set size of mapped file.
Unmap previous file mapping.
Get file size of open file. Return -1L on error.
Operating system specific routines.
Placed here to avoid cluttering up code with OS files.
Compiler implementation of the D programming language.