type syscall.Timespec
20 uses
syscall (current package)
syscall.go#L81: func (ts *Timespec) Unix() (sec int64, nsec int64) {
syscall.go#L91: func (ts *Timespec) Nano() int64 {
syscall_bsd.go#L454: func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error) {
syscall_bsd.go#L522: func UtimesNano(path string, ts []Timespec) error {
syscall_bsd.go#L531: err = utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0)
syscall_darwin.go#L121: func setattrlistTimes(path string, times []Timespec) error {
syscall_darwin.go#L132: attributes := [2]Timespec{times[1], times[0]}
syscall_darwin.go#L154: func utimensat(dirfd int, path string, times *[2]Timespec, flag int) error {
syscall_darwin_amd64.go#L9: func setTimespec(sec, nsec int64) Timespec {
syscall_darwin_amd64.go#L10: return Timespec{Sec: sec, Nsec: nsec}
timestruct.go#L10: func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
timestruct.go#L13: func NsecToTimespec(nsec int64) Timespec {
zsyscall_darwin_amd64.go#L286: func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) {
ztypes_darwin_amd64.go#L23: type Timespec struct {
ztypes_darwin_amd64.go#L74: Atimespec Timespec
ztypes_darwin_amd64.go#L75: Mtimespec Timespec
ztypes_darwin_amd64.go#L76: Ctimespec Timespec
ztypes_darwin_amd64.go#L77: Birthtimespec Timespec
os
file_posix.go#L181: var utimes [2]syscall.Timespec
stat_darwin.go#L44: func timespecToTime(ts syscall.Timespec) time.Time {
 |
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. |