Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GJDuck/e9patch
/ dup2
Function
dup2
examples/stdlib.c:1281–1284 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1279
}
1280
1281
static int dup2(int oldfd, int newfd)
1282
{
1283
return (int)syscall(SYS_dup2, oldfd, newfd);
1284
}
1285
1286
static pid_t getpid(void)
1287
{
Callers
2
emitPatch
Function · 0.85
spawnBackend
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected