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

Function set_itimeout

src/potion.c:74–79  ·  view source on GitHub ↗

set the timeout field of intrinsic `which' */

Source from the content-addressed store, hash-verified

72
73/* set the timeout field of intrinsic `which' */
74void
75set_itimeout(long *which, long val)
76{
77 *which &= ~TIMEOUT;
78 *which |= itimeout(val);
79}
80
81/* increment the timeout field of intrinsic `which' */
82void

Callers 15

fuzzer_savelifeFunction · 0.85
incr_itimeoutFunction · 0.85
make_confusedFunction · 0.85
make_stunnedFunction · 0.85
make_sickFunction · 0.85
make_slimedFunction · 0.85
make_stonedFunction · 0.85
make_vomitingFunction · 0.85
make_blindedFunction · 0.85
make_hallucinatedFunction · 0.85
make_deafFunction · 0.85
make_glibFunction · 0.85

Calls 1

itimeoutFunction · 0.85

Tested by

no test coverage detected