View source code
Display the source code in dmd/backend/os.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module dmd.backend.os

Operating system specific routines.

Placed here to avoid cluttering up code with OS files.

Compiler implementation of the D programming language.

Functions

NameDescription
file_createdirs(name) Create directories up to filename.
file_write(name, buffer, len) Write a file.
os_clock()
os_critsecsize32() Return size of OS critical section.
os_critsecsize64() Return size of OS critical section.
os_error(line) Called when there is an error returned by the operating system. This function does not return.
os_file_exists(name) Return !=0 if file exists. 0: file doesn't exist 1: normal file 2: directory

Authors

Walter Bright

License

Boost License 1.0