Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ StdinTerminal
Function
StdinTerminal
src/compat/stdin.cpp:56–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
}
55
56
bool StdinTerminal()
57
{
58
#ifdef WIN32
59
return _isatty(_fileno(stdin));
60
#else
61
return isatty(fileno(stdin));
62
#endif
63
}
64
65
bool StdinReady()
66
{
Callers
3
CommandLineRPC
Function · 0.85
SetStdinEcho
Function · 0.85
StdinReady
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected