diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-23 18:37:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-23 18:37:09 -0700 |
commit | 009d16bee2ae23593c11c47db1af385e70f3a700 (patch) | |
tree | f02f261e199aa0255c31c129dbcead907e30857c /stream.h | |
parent | 2973674d118749fb7724fff6b6cc640c9e3b145e (diff) | |
download | txr-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |