summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-28 21:39:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-28 21:39:03 -0800
commit7266ebf56acbd34978d8bb99a2a87a15d0afdea9 (patch)
treefd745cc17615ac3adaf0c246753107bb32ec870f /stream.h
parentfbf48de67c4ba652b22fe379cb27f7f3b01f314b (diff)
downloadtxr-7266ebf56acbd34978d8bb99a2a87a15d0afdea9.tar.gz
txr-7266ebf56acbd34978d8bb99a2a87a15d0afdea9.tar.bz2
txr-7266ebf56acbd34978d8bb99a2a87a15d0afdea9.zip
* stream.c (remove_path, rename_path): New functions.
* stream.h (remove_path, rename_path): Declared. * utf8.c (w_remove, w_rename): New functions. * utf8.h (w_remove, w_rename): Declared. * eval.c (eval_init): Registered remove_path and rename_path as intrinsics.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index 6a76d6b8..2f4eec6c 100644
--- a/stream.h
+++ b/stream.h
@@ -99,5 +99,7 @@ val open_tail(val path, val mode_str, val seek_end_p);
val open_command(val path, val mode_str);
val open_process(val path, val mode_str, val args);
val make_catenated_stream(val stream_list);
+val remove_path(val path);
+val rename_path(val from, val to);
void stream_init(void);