8.16.0.1
14.5 System Information and Control
function | |
Reports the running Rhombus version.
> system.version()
"0.33"
function | |
Reports the host Racket version.
"8.16.0.1"
function | |
Report the host platform’s operating system more specifically than
system.type. For example, the result may be #'linux
or #'freebsd instead of #'unix.
function | |
Report the host platform’s architecture. Possible results include
#'x86_64, #'i386, #'aarch64,
#'arm (32-bit), and #'ppc (32-bit).
function | |
Reports details of the host operating system in a platform-specific
format.
function | |
| |
annotation | |
Reports the native compilation target machine for the host platform.
Possible results include #'ta6le, #'tarm64osx, and
#'ti3nt.
The system.TargetMachineSymbol annotation is satisfied by a machine type symbol that are supported as a compilation target by the host Racket system, which may include a cross-compilation target machine.
Returns a system-specific path categorized by which:
#'temp_dir: a path to a directory for storing temporary files.
function | |
| |
function | |
The system.seconds reports the current time in seconds since
the epoch— which is consistent with the
filesystem.modify_seconds function’s result, for example. The
system.milliseconds function reports the same time with more
precision, expressed in milliseconds (including fractional milliseconds)
since the epoch.
See also measure.cpu_milliseconds and measure.real_milliseconds.
Calls the system exit handler, which normally exits the current
process. If v is a byte, then the byte is used as the
process’s exit code, otherwise 0 is used as the exit code.