#
Chapter 27
`os.ss`: System Utilities

To load: `(require (lib "os.ss"))`

`(gethostname``)` P R O C E D U R E

Returns a string for the current machine's hostname (including its domain).

`(getpid``)` P R O C E D U R E

Returns an exact integer identifying the current process within the operating system.

`(truncate-file``` `path``` [`size-k`]`)` P R O C E D U R E

Truncates or extends the given file so that it is `size-k` bytes long, where `size-k` defaults to `0`. If the file does not exist, or if the process does not have sufficient privilege to truncate the file, the `exn:fail` exception is raised.

WARNING: under Unix, the implementation assumes that the system's `ftruncate` function accepts a `long long` second argument.