/*- * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Kenneth Almquist. * * %sccs.include.redist.c% * * @(#)redir.h 5.1 (Berkeley) 03/07/91 */ /* flags passed to redirect */ #define REDIR_PUSH 01 /* save previous values of file descriptors */ #define REDIR_BACKQ 02 /* save the command output in memory */ #ifdef __STDC__ union node; void redirect(union node *, int); void popredir(void); void clearredir(void); int copyfd(int, int); #else void redirect(); void popredir(); void clearredir(); int copyfd(); #endif