type golang.org/x/sys/unix.Timespec
24 uses
golang.org/x/sys/unix (current package)
syscall_bsd.go#L420: func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
syscall_bsd.go#L574: func UtimesNano(path string, ts []Timespec) error {
syscall_bsd.go#L590: err = utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
syscall_bsd.go#L603: func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
syscall_bsd.go#L614: return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
syscall_darwin.go#L248: func setattrlistTimes(path string, times []Timespec, flags int) error {
syscall_darwin.go#L259: attributes := [2]Timespec{times[1], times[0]}
syscall_darwin.go#L274: func utimensat(dirfd int, path string, times *[2]Timespec, flags int) error {
syscall_darwin_amd64.go#L11: func setTimespec(sec, nsec int64) Timespec {
syscall_darwin_amd64.go#L12: return Timespec{Sec: sec, Nsec: nsec}
syscall_unix.go#L425: ts := []Timespec{
timestruct.go#L13: func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
timestruct.go#L17: func NsecToTimespec(nsec int64) Timespec {
timestruct.go#L31: func TimeToTimespec(t time.Time) (Timespec, error) {
timestruct.go#L40: return Timespec{}, ERANGE
timestruct.go#L64: func (ts *Timespec) Unix() (sec int64, nsec int64) {
timestruct.go#L75: func (ts *Timespec) Nano() int64 {
zsyscall_darwin_amd64.go#L291: func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
zsyscall_darwin_amd64.go#L916: func ClockGettime(clockid int32, time *Timespec) (err error) {
ztypes_darwin_amd64.go#L23: type Timespec struct {
ztypes_darwin_amd64.go#L73: Atim Timespec
ztypes_darwin_amd64.go#L74: Mtim Timespec
ztypes_darwin_amd64.go#L75: Ctim Timespec
ztypes_darwin_amd64.go#L76: Btim Timespec
 |
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. |