After calling foreign procedures that use system calls, it may be useful to retrieve errno. According to this comment, retrieving it via a separate call is unsafe, since errno may be modified by the Chez runtime. It would be useful to have an analogue of Racket’s #:save-errno option.
After calling foreign procedures that use system calls, it may be useful to retrieve
errno. According to this comment, retrieving it via a separate call is unsafe, sinceerrnomay be modified by the Chez runtime. It would be useful to have an analogue of Racket’s#:save-errnooption.