#
Chapter 28
`os.ss`: System Utilities

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

`(gethostname``)` PROCEDURE

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

`(getpid``)` PROCEDURE

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

`(truncate-file``` `path``` [`size-k`]`)` PROCEDURE

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.