summaryrefslogtreecommitdiff
path: root/libguile/filesys.h
diff options
context:
space:
mode:
authorGary Houston <ghouston@arglist.com>1999-09-11 14:12:14 +0000
committerGary Houston <ghouston@arglist.com>1999-09-11 14:12:14 +0000
commit77242ff9cd89096044093ba6012ec4bd34668e28 (patch)
tree43e501017322f0fc62db1695167e806805fe1220 /libguile/filesys.h
parent08cc62c7d91de170838536d938a00ce980182d79 (diff)
downloadguile-77242ff9cd89096044093ba6012ec4bd34668e28.tar.gz
1999-09-11 Gary Houston <ghouston@easynet.co.uk>
* filesys.c (scm_directory_p): new procedure "directory?" Returns a boolean indicating whether its argument is a directory port as returned by opendir (thanks to Dirk Herrmann for the suggestion.)
Diffstat (limited to 'libguile/filesys.h')
-rw-r--r--libguile/filesys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/filesys.h b/libguile/filesys.h
index 17cee89c4..9aa019ac1 100644
--- a/libguile/filesys.h
+++ b/libguile/filesys.h
@@ -66,6 +66,7 @@ extern SCM scm_rename SCM_P ((SCM oldname, SCM newname));
extern SCM scm_delete_file SCM_P ((SCM str));
extern SCM scm_mkdir SCM_P ((SCM path, SCM mode));
extern SCM scm_rmdir SCM_P ((SCM path));
+extern SCM scm_directory_p (SCM obj);
extern SCM scm_opendir SCM_P ((SCM dirname));
extern SCM scm_readdir SCM_P ((SCM port));
extern SCM scm_rewinddir SCM_P ((SCM port));