diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-07 11:54:16 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-07-07 11:54:16 +0300 |
commit | 8e8326d91e40166e25921b323ad468399c11d60d (patch) | |
tree | e10ecb792303df6d61d7aaa72d110a39df199929 /io.c | |
parent | f22661b0de5c0e5c46bec9d066d23a03d9b783c3 (diff) | |
download | egawk-8e8326d91e40166e25921b323ad468399c11d60d.tar.gz egawk-8e8326d91e40166e25921b323ad468399c11d60d.tar.bz2 egawk-8e8326d91e40166e25921b323ad468399c11d60d.zip |
Misc edits in io.c and gawkapi.h.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-2016, + * Copyright (C) 1986, 1988, 1989, 1991-2017, * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the @@ -3334,8 +3334,6 @@ grow_iop_buffer(IOBUF *iop) iop->end = iop->buf + iop->size; } -/* Here are the routines. */ - /* rs1scan --- scan for a single character record terminator */ static RECVALUE @@ -4270,6 +4268,8 @@ gawk_fwrite(const void *buf, size_t size, size_t count, FILE *fp, void *opaque) return fwrite(buf, size, count, fp); } +/* gawk_fflush --- like fflush */ + static int gawk_fflush(FILE *fp, void *opaque) { @@ -4278,6 +4278,8 @@ gawk_fflush(FILE *fp, void *opaque) return fflush(fp); } +/* gawk_ferror --- like ferror */ + static int gawk_ferror(FILE *fp, void *opaque) { @@ -4286,6 +4288,8 @@ gawk_ferror(FILE *fp, void *opaque) return ferror(fp); } +/* gawk_fclose --- like fclose */ + static int gawk_fclose(FILE *fp, void *opaque) { @@ -4303,7 +4307,6 @@ gawk_fclose(FILE *fp, void *opaque) return result; } - /* init_output_wrapper --- initialize the output wrapper */ static void |