MCPcopy Create free account
hub / github.com/facebook/time / ioctlPtr

Function ioctlPtr

phc/unix/linux.go:208–214  ·  view source on GitHub ↗
(fd int, req uint, arg unsafe.Pointer)

Source from the content-addressed store, hash-verified

206}
207
208func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
209 _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg))
210 if e1 != 0 {
211 err = errnoErr(e1)
212 }
213 return
214}
215
216func errnoErr(e syscall.Errno) error {
217 switch e {

Callers 8

IoctlPtpClockGetcapsFunction · 0.85
IoctlPtpSysOffsetPreciseFunction · 0.85
IoctlPtpPinGetfuncFunction · 0.85
IoctlPtpPinSetfuncFunction · 0.85
IoctlPtpPeroutRequestFunction · 0.85
IoctlPtpExttsRequestFunction · 0.85
ioctlIfreqDataFunction · 0.85

Calls 2

SyscallFunction · 0.85
errnoErrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…