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

Function lowc

src/hacklib.c:82–86  ·  view source on GitHub ↗

force 'c' into lowercase */

Source from the content-addressed store, hash-verified

80
81/* force 'c' into lowercase */
82char
83lowc(char c)
84{
85 return (char) (('A' <= c && c <= 'Z') ? (c | 040) : c);
86}
87
88/* convert a string into all lowercase */
89char *

Callers 15

optfn_discloseFunction · 0.70
optfn_menustyleFunction · 0.70
optfn_msg_windowFunction · 0.70
optfn_pettypeFunction · 0.70
optfn_pickup_burdenFunction · 0.70
optfn_scoresFunction · 0.70
optfn_sortdiscoveriesFunction · 0.70
optfn_sortlootFunction · 0.70
optfn_whatis_coordFunction · 0.70
optfn_whatis_filterFunction · 0.70
determine_ambiguitiesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected