aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-19 22:07:44 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-19 22:07:44 +1000
commit83fcc293055a8eb9b94171cc0c665a9691d08f01 (patch)
treee007a2840d292fffe42b1e2ada14ecf9196b402b /reader.h
parent4fb2dc3f55f1b55ba9893a7f4a321bb641451539 (diff)
Do not break stdin when reading a script
darcs-hash:20051019120744-ac50b-67cc9a5c4f6509eb8a012aff32fcd9606933d0ab.gz
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/reader.h b/reader.h
index c152bd9a..de0d6b5e 100644
--- a/reader.h
+++ b/reader.h
@@ -14,9 +14,9 @@
#include "util.h"
/**
- Read commands from fd 0 until encountering EOF
+ Read commands from \c fd until encountering EOF
*/
-int reader_read();
+int reader_read( int fd);
/**
Tell the shell that it should exit after the currently running command finishes.