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

Function _strdup

outdated/sys/wince/celib.c:456–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456char *__cdecl _strdup(const char *s)
457{
458 char *p;
459 p = malloc(strlen(s) + 1);
460 return strcpy(p, s);
461}
462
463char *__cdecl strrchr(const char *s, int c)
464{

Callers 2

WinMainFunction · 0.85
winmain.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected