Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTimer (0.14 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    }
    
    // A value which may be passed to the which parameter for Getitimer and
    // Setitimer.
    type ItimerWhich int
    
    // Possible which values for Getitimer and Setitimer.
    const (
    	ItimerReal    ItimerWhich = ITIMER_REAL
    	ItimerVirtual ItimerWhich = ITIMER_VIRTUAL
    	ItimerProf    ItimerWhich = ITIMER_PROF
    )
    
    // Getitimer wraps getitimer(2) to return the current value of the timer
    // specified by which.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	id = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getitimer(which int, currValue *Itimerval) (err error) {
    	_, _, e1 := Syscall(SYS_GETITIMER, uintptr(which), uintptr(unsafe.Pointer(currValue)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top