diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-20 17:19:15 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-20 17:19:15 +0200 |
commit | a31a42403b841ef05ca9143a431c8b6f1021a958 (patch) | |
tree | 09668a5683a34d8fcc114c105a6148dd3b717b26 /awk.h | |
parent | 2473b938036dfdd32ff47833ea032a80a6fa5659 (diff) | |
parent | 480aca31c7772dafeb1b97cd7a768bca2f49d3c7 (diff) | |
download | egawk-a31a42403b841ef05ca9143a431c8b6f1021a958.tar.gz egawk-a31a42403b841ef05ca9143a431c8b6f1021a958.tar.bz2 egawk-a31a42403b841ef05ca9143a431c8b6f1021a958.zip |
Merge branch 'master' into select
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2014 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2015 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -1482,8 +1482,8 @@ extern void register_two_way_processor(awk_two_way_processor_t *processor); extern void set_FNR(void); extern void set_NR(void); -extern struct redirect *redirect(NODE *redir_exp, int redirtype, int *errflg); -extern struct redirect *redirect_string(const char *redir_exp_str, size_t redir_exp_len, int not_string_flag, int redirtype, int *errflg, int extfd); +extern struct redirect *redirect(NODE *redir_exp, int redirtype, int *errflg, bool failure_fatal); +extern struct redirect *redirect_string(const char *redir_exp_str, size_t redir_exp_len, bool not_string_flag, int redirtype, int *errflg, int extfd, bool failure_fatal); extern NODE *do_close(int nargs); extern int flush_io(void); extern int close_io(bool *stdio_problem); @@ -1495,6 +1495,8 @@ extern NODE *do_getline(int intovar, IOBUF *iop); extern struct redirect *getredirect(const char *str, int len); extern bool inrec(IOBUF *iop, int *errcode); extern int nextfile(IOBUF **curfile, bool skipping); +extern bool is_non_fatal_std(FILE *fp); +extern bool is_non_fatal_redirect(const char *str); /* main.c */ extern int arg_assign(char *arg, bool initing); extern int is_std_var(const char *var); |