func golang.org/x/sys/unix.TimevalToNsec
3 uses
golang.org/x/sys/unix (current package)
syscall_unix.go#L426: NsecToTimespec(TimevalToNsec(tv[0])),
syscall_unix.go#L427: NsecToTimespec(TimevalToNsec(tv[1])),
timestruct.go#L47: func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 }
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)