aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CommonIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevcore/CommonIO.h')
-rw-r--r--libdevcore/CommonIO.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdevcore/CommonIO.h b/libdevcore/CommonIO.h
index 33769ec3..3ecdb4c3 100644
--- a/libdevcore/CommonIO.h
+++ b/libdevcore/CommonIO.h
@@ -37,6 +37,9 @@ std::string readFileAsString(std::string const& _file);
/// Retrieve and returns the contents of standard input (until EOF).
std::string readStandardInput();
+/// Retrieve and returns a character from standard input (without waiting for EOL).
+int readStandardInputChar();
+
/// Write the given binary data into the given file, replacing the file if it pre-exists.
/// Throws exception on error.
/// @param _writeDeleteRename useful not to lose any data: If set, first writes to another file in