summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2019-01-07 09:27:52 -0500
committerChet Ramey <chet.ramey@case.edu>2019-01-07 09:27:52 -0500
commitd233b485e83c3a784b803fb894280773f16f2deb (patch)
tree16d51f3ccca2d4ad2d8f2da564d68ca848de595b /input.h
parent64447609994bfddeef1061948022c074093e9a9f (diff)
downloadbash-d233b485e83c3a784b803fb894280773f16f2deb.tar.gz
bash-5.0 distribution sources and documentationbash-5.0
Diffstat (limited to 'input.h')
-rw-r--r--input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/input.h b/input.h
index 0cbfcbee..6aef1269 100644
--- a/input.h
+++ b/input.h
@@ -1,6 +1,6 @@
/* input.h -- Structures and unions used for reading input. */
-/* Copyright (C) 1993-2009 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -49,6 +49,7 @@ enum stream_type {st_none, st_stdin, st_stream, st_string, st_bstream};
#define B_UNBUFF 0x04
#define B_WASBASHINPUT 0x08
#define B_TEXT 0x10
+#define B_SHAREDBUF 0x20 /* shared input buffer */
/* A buffered stream. Like a FILE *, but with our own buffering and
synchronization. Look in input.c for the implementation. */
@@ -67,6 +68,7 @@ extern BUFFERED_STREAM **buffers;
#endif
extern int default_buffered_input;
+extern int bash_input_fd_changed;
#endif /* BUFFERED_INPUT */