2 /********************************************
4 copyright 1991, Michael D. Brennan
6 This is a source file for mawk, an implementation of
7 the AWK programming language.
9 Mawk is distributed without warranty under the terms of
10 the GNU General Public License, version 2, 1991.
11 ********************************************/
14 * Revision 1.3 1996/01/14 17:14:11 mike
17 * Revision 1.2 1994/12/11 22:14:13 mike
18 * remove THINK_C #defines. Not a political statement, just no indication
19 * that anyone ever used it.
21 * Revision 1.1.1.1 1993/07/03 18:58:13 mike
24 * Revision 5.2 1992/12/17 02:48:01 mike
25 * 1.1.2d changes for DOS
27 * Revision 5.1 1991/12/05 07:59:18 brennan
35 /* IO redirection types */
41 #define IS_OUTPUT(type) ((type)>=PIPE_OUT)
43 extern char *shell ; /* for pipes and system() */
45 PTR PROTO(file_find, (STRING *, int)) ;
46 int PROTO(file_close, (STRING *)) ;
47 int PROTO(file_flush, (STRING *)) ;
48 void PROTO(flush_all_output, (void)) ;
49 PTR PROTO(get_pipe, (char *, int, int *) ) ;
50 int PROTO(wait_for, (int) ) ;
51 void PROTO( close_out_pipes, (void) ) ;
54 void PROTO(close_fake_pipes, (void)) ;
55 int PROTO(close_fake_outpipe, (char *,int)) ;
56 char *PROTO(tmp_file_name, (int, char*)) ;
60 int PROTO(DOSexec, (char *)) ;
61 int PROTO(binmode, (void)) ;
62 void PROTO(set_binmode, (int)) ;
63 void PROTO(enlarge_output_buffer, (FILE*)) ;