MCPcopy Create free account
hub / github.com/NetHack/NetHack / mac_getlin

Function mac_getlin

outdated/sys/mac/mgetline.c:50–54  ·  view source on GitHub ↗

* Read a line closed with '\n' into the array char bufp[BUFSZ]. * (The '\n' is not stored. The string is closed with a '\0'.) * Reading can be interrupted by an escape ('\033') - now the * resulting string is "\033". */

Source from the content-addressed store, hash-verified

48 * resulting string is "\033".
49 */
50void
51mac_getlin(const char *query, char *bufp)
52{
53 topl_getlin(query, bufp, false);
54}
55
56/* Read in an extended command - doing command line completion for
57 * when enough characters have been entered to make a unique command.

Callers

nothing calls this directly

Calls 1

topl_getlinFunction · 0.85

Tested by

no test coverage detected