summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-24 20:59:18 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-24 20:59:18 -0800
commit15c42fa37fced6cb65b09dce07d59fc729748018 (patch)
tree6c35c40aa32d354a67b0cb44b4d0e4104aa93f3b /stream.h
parent17703842631784a8f623b5478380e90e4e17c8ef (diff)
downloadtxr-15c42fa37fced6cb65b09dce07d59fc729748018.tar.gz
txr-15c42fa37fced6cb65b09dce07d59fc729748018.tar.bz2
txr-15c42fa37fced6cb65b09dce07d59fc729748018.zip
* eval.c (eval_init): Intern symlink_wrap, link_wrap, readlink_wrap.
* stream.c (symlink_wrap, link_wrap, readlink_wrap): New functions. * stream.h (symlink_wrap, link_wrap, readlink_wrap): Declared. * txr.1: Documented.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index 30d89fe7..254b5cf4 100644
--- a/stream.h
+++ b/stream.h
@@ -108,5 +108,8 @@ val makedev_wrap(val major, val minor);
val minor_wrap(val dev);
val major_wrap(val dev);
val mknod_wrap(val path, val mode, val dev);
+val symlink_wrap(val target, val to);
+val link_wrap(val target, val to);
+val readlink_wrap(val path);
void stream_init(void);