MCPcopy 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
176void
177P2C(const unsigned char *p, char *c)
178{
179 int idx = *p++;
180 for (; idx > 0; idx--)
181 *c++ = *p++;
182 *c = '\0';
183}
184
185static void
186replace_resource(Handle new_res, ResType its_type, short its_id,

Callers 1

process_openfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected