diff options
author | chriseth <chris@ethereum.org> | 2018-03-16 00:03:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-16 00:03:43 +0800 |
commit | 9e1095608d265ac941afbf1e4ed4c79d63a15926 (patch) | |
tree | 1950350b746bd820cdf0617ad802dcf548d69738 /libdevcore/CommonIO.h | |
parent | 3f1e0d8434b477b7123a7e72655aa6e76c2c53a9 (diff) | |
parent | 50ad89d369a3ffd90471b2738f2f30491841e197 (diff) | |
download | dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar.gz dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar.bz2 dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar.lz dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar.xz dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.tar.zst dexon-solidity-9e1095608d265ac941afbf1e4ed4c79d63a15926.zip |
Merge pull request #3709 from ethereum/syntaxTestsInteractiveTool
Interactive syntax test tool.
Diffstat (limited to 'libdevcore/CommonIO.h')
-rw-r--r-- | libdevcore/CommonIO.h | 3 |
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 |