Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ getyear
Function
getyear
src/calendar.c:48–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
int
49
getyear(void)
50
{
51
return (1900 + getlt()->tm_year);
52
}
53
54
55
long
Callers
nothing calls this directly
Calls
1
getlt
Function · 0.85
Tested by
no test coverage detected