(require mzlib/os) | package: compatibility-lib |
procedure
(gethostname) → string?
Returns a string for the current machine’s hostname (including its
domain).
procedure
(getpid) → exact-integer?
Returns an integer identifying the current process within the
operating system.
procedure
(truncate-file file [n-bytes]) → void?
file : path-string? n-bytes : exact-nonnegative-integer? = 0
Truncates or extends the given file so that it is
n-bytes long. 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.
The truncate-file function is implemented in terms of racket/base’s file-truncate.