Next: , Previous: , Up: Operational Features   [Contents][Index]

3.6 SCM Session

Function: quit
Function: quit n
Function: exit
Function: exit n

Aliases for exit (see exit in SLIB). On many systems, SCM can also tail-call another program. See execp.

Callback procedure: boot-tail dumped?

boot-tail is called by scm_top_level just before entering interactive top-level. If boot-tail calls quit, then interactive top-level is not entered.

Function: program-arguments

Returns a list of strings of the arguments scm was called with.

Function: getlogin

Returns the (login) name of the user logged in on the controlling terminal of the process, or #f if this information cannot be determined.

For documentation of the procedures getenv and system See System Interface in SLIB.

SCM extends getenv as suggested by draft SRFI-98:

Function: getenv name

Looks up name, a string, in the program environment. If name is found a string of its value is returned. Otherwise, #f is returned.

Function: getenv

Returns names and values of all the environment variables as an association-list.

(getenv)  ⇒
(("PATH" . "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin")
 ("USERNAME" . "taro"))
Function: vms-debug

If SCM is compiled under VMS this vms-debug will invoke the VMS debugger.


Next: , Previous: , Up: Operational Features   [Contents][Index]