func golang.org/x/sys/unix.TimespecToNsec
3 uses
golang.org/x/sys/unix (current package)
syscall_bsd.go#L597: NsecToTimeval(TimespecToNsec(ts[0])),
syscall_bsd.go#L598: NsecToTimeval(TimespecToNsec(ts[1])),
timestruct.go#L13: func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |