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

Function C2P

outdated/sys/mac/macfile.c:163–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void
164C2P(const char *c, unsigned char *p)
165{
166 int len = strlen(c), i;
167
168 if (len > 255)
169 len = 255;
170
171 for (i = len; i > 0; i--)
172 p[i] = c[i - 1];
173 p[0] = len;
174}
175
176void
177P2C(const unsigned char *p, char *c)

Callers 9

set_tty_font_nameFunction · 0.85
mac_end_menuFunction · 0.85
process_openfileFunction · 0.85
macopenFunction · 0.85
macunlinkFunction · 0.85
rsrc_dlb_fopenFunction · 0.85
errorFunction · 0.85
showerrorFunction · 0.85
attemptingtoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected