mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
(system-error-errno): New.
This commit is contained in:
parent
9a8be5a707
commit
019ac1c987
1 changed files with 5 additions and 0 deletions
|
@ -481,6 +481,11 @@
|
|||
(and (> sl sufl)
|
||||
(string=? (substring str (- sl sufl) sl) suffix))))
|
||||
|
||||
(define (system-error-errno args)
|
||||
(if (eq? (car args) 'system-error)
|
||||
(car (list-ref args 4))
|
||||
#f))
|
||||
|
||||
|
||||
;;; {Error Handling}
|
||||
;;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue