MCPcopy Create free account
hub / github.com/GJDuck/e9patch / fork

Function fork

examples/stdlib.c:1608–1614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1606}
1607
1608static pid_t fork(void)
1609{
1610 pid_t child = (pid_t)syscall(SYS_fork);
1611 if (child == 0)
1612 mutex_settid((pid_t)syscall(SYS_gettid));
1613 return child;
1614}
1615
1616/****************************************************************************/
1617/* CONFIGURATION */

Callers 2

emitPatchFunction · 0.85
spawnBackendFunction · 0.85

Calls 1

mutex_settidFunction · 0.85

Tested by

no test coverage detected