Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getrusage (0.18 sec)

  1. src/syscall/syscall_darwin.go

    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Getuid() (uid int)
    //sysnb	Issetugid() (tainted bool)
    //sys	Kqueue() (fd int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/os/exec.go

    // the exited process. Convert it to the appropriate underlying
    // type, such as [*syscall.Rusage] on Unix, to access its contents.
    // (On Unix, *syscall.Rusage matches struct rusage as defined in the
    // getrusage(2) manual page.)
    func (p *ProcessState) SysUsage() any {
    	return p.sysUsage()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. src/syscall/syscall_solaris.go

    //sys	Geteuid() (euid int)
    //sys	Getegid() (egid int)
    //sys	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (n int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Kill(pid int, signum Signal) (err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_arm.go

    func Getrusage(who int, rusage *Rusage) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_getrusage_trampoline()
    
    //go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_GETRLIMIT
    
    //sysnb getrusage(who int, rusage *rusage_zos) (err error) = SYS_GETRUSAGE
    
    func Getrusage(who int, rusage *Rusage) (err error) {
    	var ruz rusage_zos
    	err = getrusage(who, &ruz)
    	//Only the first two fields of Rusage are set
    	rusage.Utime.Sec = ruz.Utime.Sec
    	rusage.Utime.Usec = int64(ruz.Utime.Usec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_Getppid getppid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getpriority getpriority "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getrlimit getrlimit "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getrusage getrusage "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Getuid getuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Kill kill "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Lchown lchown "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. src/syscall/syscall_aix.go

    //sys	Geteuid() (euid int)
    //sys	Getegid() (egid int)
    //sys	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (n int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Kill(pid int, signum Signal) (err error)
    //sys	Lchown(path string, uid int, gid int) (err error)
    //sys	Link(path string, link string) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_386.go

    func Getrusage(who int, rusage *Rusage) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_getrusage_trampoline()
    
    //go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_openbsd_amd64.go

    func Getrusage(who int, rusage *Rusage) (err error) {
    	_, _, e1 := rawSyscall(abi.FuncPCABI0(libc_getrusage_trampoline), uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_getrusage_trampoline()
    
    //go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
Back to top