943 |
The following procedures invoke scm_error with various error keys and |
The following procedures invoke scm_error with various error keys and |
944 |
arguments. The first three call scm_error with the system-error key |
arguments. The first three call scm_error with the system-error key |
945 |
and automatically supply errno in the "rest" argument: scm_syserror |
and automatically supply errno in the "rest" argument: scm_syserror |
946 |
generates messages using strerror, scm_sysmissing is used when |
generates messages using strerror. Care should be taken that the errno |
|
facilities are not available. Care should be taken that the errno |
|
947 |
value is not reset (e.g. due to an interrupt). |
value is not reset (e.g. due to an interrupt). |
948 |
|
|
949 |
@itemize @bullet |
@itemize @bullet |
952 |
@item |
@item |
953 |
void scm_syserror_msg (char *subr, char *message, SCM args); |
void scm_syserror_msg (char *subr, char *message, SCM args); |
954 |
@item |
@item |
|
void scm_sysmissing (char *subr); |
|
|
@item |
|
955 |
void scm_num_overflow (char *subr); |
void scm_num_overflow (char *subr); |
956 |
@item |
@item |
957 |
void scm_out_of_range (char *subr, SCM bad_value); |
void scm_out_of_range (char *subr, SCM bad_value); |