/ src / compat / stdin.h
stdin.h
 1  // Copyright (c) 2018-present The Bitcoin Core developers
 2  // Distributed under the MIT software license, see the accompanying
 3  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 4  
 5  #ifndef BITCOIN_COMPAT_STDIN_H
 6  #define BITCOIN_COMPAT_STDIN_H
 7  
 8  struct NoechoInst {
 9      NoechoInst();
10      ~NoechoInst();
11  };
12  
13  #define NO_STDIN_ECHO() NoechoInst _no_echo
14  
15  bool StdinTerminal();
16  bool StdinReady();
17  
18  #endif // BITCOIN_COMPAT_STDIN_H