MCPcopy Index your code
hub / github.com/NetHack/NetHack / getreturn

Function getreturn

sys/share/pcsys.c:146–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void
147getreturn(const char *str)
148{
149#ifdef TOS
150 msmsg("Hit <Return> %s.", str);
151#else
152#ifdef CROSS_TO_AMIGA
153 (void) printf("Hit <Enter> %s.", str);
154#else
155 msmsg("Hit <Enter> %s.", str);
156#endif
157#endif
158 while (pgetchar() != '\n')
159 ;
160 return;
161}
162
163void msmsg
164VA_DECL(const char *, fmt)

Callers 4

pcsys.cFile · 0.70
msexitFunction · 0.70
getretFunction · 0.50
nh_terminateFunction · 0.50

Calls 3

msmsgFunction · 0.85
printfFunction · 0.85
pgetcharFunction · 0.85

Tested by

no test coverage detected