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

Function ioctl

examples/stdlib.c:1221–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1219}
1220
1221static int ioctl(int fd, unsigned long request, ...)
1222{
1223 va_list ap;
1224 va_start(ap, request);
1225 unsigned long arg = va_arg(ap, unsigned long);
1226 int result = (int)syscall(SYS_ioctl, fd, request, arg);
1227 va_end(ap);
1228 return result;
1229}
1230
1231static int pipe(int pipefd[2])
1232{

Callers 1

isattyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected