Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 84 of 84 for rawSyscall (0.14 sec)

  1. src/vendor/golang.org/x/sys/cpu/syscall_aix_ppc64_gc.go

    //go:linkname libc_getsystemcfg libc_getsystemcfg
    
    type syscallFunc uintptr
    
    var libc_getsystemcfg syscallFunc
    
    type errno = syscall.Errno
    
    // Implemented in runtime/syscall_aix.go.
    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err errno)
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err errno)
    
    func callgetsystemcfg(label int) (r1 uintptr, e1 errno) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 988 bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris.go

    // parsed from the syscall.Uname's Version field, or (0, 0) if the
    // version can't be obtained or parsed.
    func KernelVersion() (major int, minor int) {
    	var un utsname
    	_, _, errno := rawSyscall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(&un)), 0, 0, 0, 0, 0)
    	if errno != 0 {
    		return 0, 0
    	}
    
    	// The version string is in the form "<version>.<update>.<sru>.<build>.<reserved>"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/syscall/syscall_linux_loong64.go

    func setrlimit(resource int, rlim *Rlimit) error {
    	return prlimit(0, resource, rlim, nil)
    }
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall6(SYS_PRLIMIT64, 0, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0, 0, 0)
    	return errno
    }
    
    func (r *PtraceRegs) GetEra() uint64 { return r.Era }
    
    func (r *PtraceRegs) SetEra(era uint64) { r.Era = era }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/syscall/mksyscall_libc.pl

    			$n++;
    		} else {
    			push @args, "uintptr($name)";
    		}
    	}
    	my $nargs = @args;
    
    	my $asmfuncname="";
    	my $asmrawfuncname="";
    
    	if($aix){
    		$asmfuncname="syscall6";
    		$asmrawfuncname="rawSyscall6";
    	} else {
    		$asmfuncname="sysvicall6";
    		$asmrawfuncname="rawSysvicall6";
    	}
    
    	# Determine which form to use; pad args with zeros.
    	my $asm = "${syscalldot}${asmfuncname}";
    	if ($nonblock) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top