IoctlPtpClockGetcaps returns the description of a given PTP device.
(fd int)
| 82 | |
| 83 | // IoctlPtpClockGetcaps returns the description of a given PTP device. |
| 84 | func IoctlPtpClockGetcaps(fd int) (*PtpClockCaps, error) { |
| 85 | var value PtpClockCaps |
| 86 | err := ioctlPtr(fd, PTP_CLOCK_GETCAPS2, unsafe.Pointer(&value)) |
| 87 | return &value, err |
| 88 | } |
| 89 | |
| 90 | // IoctlPtpSysOffsetPrecise returns a description of the clock offset compared to the system clock. |
| 91 | func IoctlPtpSysOffsetPrecise(fd int) (*PtpSysOffsetPrecise, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…