aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_libc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/exec_libc.go')
-rw-r--r--src/syscall/exec_libc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syscall/exec_libc.go b/src/syscall/exec_libc.go
index f8769b9aba..0f8a7b5375 100644
--- a/src/syscall/exec_libc.go
+++ b/src/syscall/exec_libc.go
@@ -305,3 +305,7 @@ childerror:
exit(253)
}
}
+
+func ioctlPtr(fd, req uintptr, arg unsafe.Pointer) (err Errno) {
+ return ioctl(fd, req, uintptr(arg))
+}