summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-23 18:37:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-23 18:37:09 -0700
commit009d16bee2ae23593c11c47db1af385e70f3a700 (patch)
treef02f261e199aa0255c31c129dbcead907e30857c /stream.h
parent2973674d118749fb7724fff6b6cc640c9e3b145e (diff)
downloadtxr-009d16bee2ae23593c11c47db1af385e70f3a700.tar.gz
txr-009d16bee2ae23593c11c47db1af385e70f3a700.tar.bz2
txr-009d16bee2ae23593c11c47db1af385e70f3a700.zip
Optional argument on remove-path.
* stream.c (remove_path): New parameter, throw_on_error. (stream_init): Update registratino of remove_path intrinsic. * stream.h (remove_path): Declaration updated. * txr.1: Updated remove-path documentation to describe throw-on-error-p parameter.
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.h b/stream.h
index 192f7bbb..db054730 100644
--- a/stream.h
+++ b/stream.h
@@ -198,7 +198,7 @@ val make_catenated_stream(val stream_list);
val make_catenated_stream_v(struct args *streams);
val catenated_stream_p(val obj);
val catenated_stream_push(val new_stream, val cat_stream);
-val remove_path(val path);
+val remove_path(val path, val throw_on_error);
val rename_path(val from, val to);
val abs_path_p(val path);