diff options
author | Gary Houston <ghouston@arglist.com> | 2000-11-07 21:34:45 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 2000-11-07 21:34:45 +0000 |
commit | c2ca44933f8b2b43ec3efa541a6824537c45a560 (patch) | |
tree | b93f926b2a7b6410cf36252c58f82e37979f5fdc /libguile/filesys.h | |
parent | b100f5eed22720eed9a8c2caa5dd46b0f712bae8 (diff) | |
download | guile-c2ca44933f8b2b43ec3efa541a6824537c45a560.tar.gz |
2000-11-07 Gary Houston <ghouston@arglist.com>
* ports.c (scm_port_for_each): new proc. implements port-for-each,
which applies a procedure to each port in the port table.
ports.h: declare scm_port_for_each.
* ioext.c (scm_dup2): new proc. implements "dup2" which is a simple
wrapper for the dup2 system call (unlike dup->fdes or
primitive-move->fdes).
* ioext.h: declare scm_dup2.
* filesys.c (scm_close_fdes): new proc. implements "close-fdes"
which is a simple wrapper for close system call (unlike scm_close).
* filesys.h: declare for scm_close_fdes.
Diffstat (limited to 'libguile/filesys.h')
-rw-r--r-- | libguile/filesys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/filesys.h b/libguile/filesys.h index f20240a8c..b6e8de297 100644 --- a/libguile/filesys.h +++ b/libguile/filesys.h @@ -64,6 +64,7 @@ extern SCM scm_umask (SCM mode); extern SCM scm_open_fdes (SCM path, SCM flags, SCM mode); extern SCM scm_open (SCM path, SCM flags, SCM mode); extern SCM scm_close (SCM fd_or_port); +extern SCM scm_close_fdes (SCM fd); extern SCM scm_stat (SCM object); extern SCM scm_link (SCM oldpath, SCM newpath); extern SCM scm_rename (SCM oldname, SCM newname); |