break out special local mail processing (e.g., mapping to the
[unix-history] / usr / src / bin / sh / redir.h
index 313b22b..23577ec 100644 (file)
@@ -1,13 +1,13 @@
 /*-
 /*-
- * Copyright (c) 1991 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1991, 1993
+ *     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%
  *
  *
  * This code is derived from software contributed to Berkeley by
  * Kenneth Almquist.
  *
  * %sccs.include.redist.c%
  *
- *     @(#)redir.h     5.1 (Berkeley) %G%
+ *     @(#)redir.h     8.1 (Berkeley) %G%
  */
 
 /* flags passed to redirect */
  */
 
 /* flags passed to redirect */
@@ -20,9 +20,11 @@ void redirect(union node *, int);
 void popredir(void);
 void clearredir(void);
 int copyfd(int, int);
 void popredir(void);
 void clearredir(void);
 int copyfd(int, int);
+int fd0_redirected_p(void);
 #else
 void redirect();
 void popredir();
 void clearredir();
 int copyfd();
 #else
 void redirect();
 void popredir();
 void clearredir();
 int copyfd();
+int fd0_redirected_p();
 #endif
 #endif