lang/os.sh

OS functions.

os_arch()

Return OS architecture.

os_get_pid()

Return this process id.

os_kill()

Kills the given process.

os_mktemp()

Make a temporary file.

os_mktemp_dir()

Make a temporary directory.

os_mktemp_file()

Make a temporary file.

os_name()

Return OS name. If OS is not known, return “$OS_UNKNOWN”.

os_remake_dir()

Remake (delete and create) a directory.