diff options
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,13 +26,13 @@ extern obj_t *std_input, *std_output, *std_error; -obj_t *make_stdio_stream(FILE *, obj_t *input, obj_t *output); -obj_t *make_pipe_stream(FILE *, obj_t *input, obj_t *output); +obj_t *make_stdio_stream(FILE *, obj_t *descr, obj_t *input, obj_t *output); +obj_t *make_pipe_stream(FILE *, obj_t *descr, obj_t *input, obj_t *output); obj_t *make_string_input_stream(obj_t *); obj_t *make_string_output_stream(void); obj_t *get_string_from_stream(obj_t *); obj_t *make_dir_stream(DIR *); -obj_t *close_stream(obj_t *); +obj_t *close_stream(obj_t *stream, obj_t *throw_on_error); obj_t *get_line(obj_t *); obj_t *get_char(obj_t *); obj_t *vformat(obj_t *stream, const char *string, va_list); /* nao-terminated */ |