The OpenD Programming Language

rt.sys.posix.osmemory

Undocumented in source.

Members

Enums

ChildStatus
enum ChildStatus

Possible results for the wait_pid() function.

Functions

fork (from core.sys.posix.unistd)
pid_t fork() via public import core.sys.posix.unistd : pid_t, fork;
Undocumented in source.
getPageSize
size_t getPageSize()

Get get the page size of OS

isLowOnMem
bool isLowOnMem(size_t mapped)

Check for any kind of memory pressure.

os_physical_mem
ulong os_physical_mem()

Get the size of available physical memory

wait_pid
ChildStatus wait_pid(pid_t pid, bool block)

Wait for a process with PID pid to finish.

Imports

pid_t (from core.sys.posix.unistd)
public import core.sys.posix.unistd : pid_t, fork;
Undocumented in source.

Meta