Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ P2C
Function
P2C
outdated/sys/mac/macfile.c:176–183 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
174
}
175
176
void
177
P2C(const unsigned char *p, char *c)
178
{
179
int idx = *p++;
180
for (; idx > 0; idx--)
181
*c++ = *p++;
182
*c =
'\0'
;
183
}
184
185
static void
186
replace_resource(Handle new_res, ResType its_type, short its_id,
Callers
1
process_openfile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected