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

Function eos

src/hacklib.c:193–199  ·  view source on GitHub ↗

return the end of a string (pointing at '\0') */

Source from the content-addressed store, hash-verified

191
192/* return the end of a string (pointing at '\0') */
193char *
194eos(char *s)
195{
196 while (*s)
197 s++; /* s += strlen(s); */
198 return s;
199}
200
201/* version of eos() which takes a const* arg and returns that result */
202const char *

Callers 15

tty_yn_functionFunction · 0.85
init_hiliteFunction · 0.85
tty_status_updateFunction · 0.85
hooked_tty_getlinFunction · 0.85
qt_yn_functionMethod · 0.85
qt_getlinMethod · 0.85
mswin_yn_functionFunction · 0.85
draw_horizontalFunction · 0.85
curs_vert_status_valsFunction · 0.85
new_resource_macroFunction · 0.85
X11_yn_function_coreFunction · 0.85
update_valFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected