Many fixes to ash (/bin/sh)
[unix-history] / usr / src / bin / sh / redir.h
index 024502d..99c995f 100644 (file)
  * SUCH DAMAGE.
  *
  *     @(#)redir.h     5.1 (Berkeley) 3/7/91
  * SUCH DAMAGE.
  *
  *     @(#)redir.h     5.1 (Berkeley) 3/7/91
+ *
+ * PATCHES MAGIC                LEVEL   PATCH THAT GOT US HERE
+ * --------------------         -----   ----------------------
+ * CURRENT PATCH LEVEL:         1       00168
+ * --------------------         -----   ----------------------
+ *
+ * 04 Jun 93   Jim Wilson              Seven (7) fixes for misc bugs
+ *
  */
 
 /* flags passed to redirect */
  */
 
 /* flags passed to redirect */
@@ -46,9 +54,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