MCPcopy Create free account
hub / github.com/SIPp/sipp / screen_readkey

Function screen_readkey

src/screen.cpp:40–47  ·  view source on GitHub ↗

ERR is actually -1, but this prevents us from needing to use curses.h in * sipp.cpp. */

Source from the content-addressed store, hash-verified

38/* ERR is actually -1, but this prevents us from needing to use curses.h in
39 * sipp.cpp. */
40int screen_readkey()
41{
42 int c = getch();
43 if (c == ERR) {
44 return -1;
45 }
46 return c;
47}
48
49void screen_exit()
50{

Callers 1

handle_stdin_socketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected