Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 41 of 41 for Settimeofday (0.21 sec)

  1. 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)
Back to top