- Sort Score
- Result 10 results
- Languages All
Results 41 - 42 of 42 for settimeofday (0.14 sec)
-
src/syscall/syscall_wasip1.go
func Getegid() int { return 1 } func Getgroups() ([]int, error) { return []int{1}, nil } func Getpid() int { return 3 } func Getppid() int { return 2 } func Gettimeofday(tv *Timeval) error { var time timestamp if errno := clock_time_get(clockRealtime, 1e3, unsafe.Pointer(&time)); errno != 0 { return errno } tv.setTimestamp(time) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/syscall/syscall_plan9.go
r0, _, _ := Syscall(SYS_NSEC, uintptr(unsafe.Pointer(&scratch)), 0, 0) // TODO(aram): remove hack after I fix _nsec in the pc64 kernel. if r0 == 0 { return scratch } return int64(r0) } func Gettimeofday(tv *Timeval) error { nsec := nsec() *tv = NsecToTimeval(nsec) return nil } func Getegid() (egid int) { return -1 } func Geteuid() (euid int) { return -1 } func Getgid() (gid int) { return -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0)