For Gauche 0.9.5


Next: , Previous: , Up: ライブラリモジュール - R7RS統合   [Contents][Index]

10.14 scheme.process-context - R7RSプロセスコンテキスト

Module: scheme.process-context

Exports bindings of R7RS (scheme process-context) library. From R7RS programs, those bindings are available by (import (scheme process-context)).

The following bindings are the same as Gauche built-ins (see コマンドライン引数, and プログラムの終了):

command-line exit

The following bindings are the same as SRFI-98 (see 環境変数へのアクセス):

get-environment-variable get-environment-variables
Function: emergency-exit :optional (obj 0)

[R7RS] Terminate the program without running any clean-up procedures (after thunks of dynamic-wind). Internally, it calls the _exit(2) system call directly. The optional argument is used for the process exit code.

This is almost the same as Gauche’s sys-exit, except that sys-exit requires the exit code object (see プログラムの終了).


Next: , Previous: , Up: ライブラリモジュール - R7RS統合   [Contents][Index]