Class std.rt.System
Synopsis
public static class System
A static class containing routines which allow interaction with the system.
Fields
A string which marks line breaks on the host platform.
A string which separates the components of a path.
The executable suffix on the host platform. For example, this is the empty string on POSIX, and ".exe" on Windows.
The library suffix on the host platform. For example, this is ".dll" on Windows, or ".so" on POSIX.
Command-line arguments passed to the program. The first argument is the program name itself.
Standard input stream.
Standard output stream.
Standard error output stream.
Maximum value that can be stored in a byte_t
.
Minimum value that can be stored in a byte_t
.
Maximum value that can be stored in a sbyte_t
.
Minimum value that can be stored in a sbyte_t
.
Maximum value that can be stored in a word_t
.
Minimum value that can be stored in a word_t
.
Maximum value that can be stored in a sword_t
.
Minimum value that can be stored in a sword_t
.
Maximum value that can be stored in a dword_t
.
Minimum value that can be stored in a dword_t
.
Maximum value that can be stored in a sdword_t
.
No description given
Minimum value that can be stored in a sdword_t
.
No description given
Maximum value that can be stored in a qword_t
.
Minimum value that can be stored in a qword_t
.
Maximum value that can be stored in a sqword_t
.
No description given
Minimum value that can be stored in a sqword_t
.
No description given
Constructors
Methods
Exit the program with a success status.
Exit the program with the specified status. A value of 0 indicates the program eneded successfully; any other value indicates an error. Note that only values in the 0-127 range are guaranteed to work correctly on all systems.
Throw std.rt.AssertionError
if cond
is not true
.
Arguments
`cond` | The condition to check for. |
---|---|
`msg` | The error message to be associated with the AssertionError .
|
Throw std.rt.AssertionError
if cond
is not true
.