在本页中:
gethostname
getpid

15.10 Additional Operating System Functions

 (require racket/os) package: base
The racket/os library additional functions for querying the operating system.

添加于package base的6.3版本。

函数

(gethostname)  string?

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

函数

(getpid)  exact-integer?

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