Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for syscall_execve (0.15 sec)

  1. src/runtime/syscall_aix.go

    //go:nosplit
    func syscall_dup2child(old, new uintptr) (val, err uintptr) {
    	val, err = syscall2(&libc_dup2, old, new)
    	return
    }
    
    //go:linkname syscall_execve syscall.execve
    //go:nosplit
    func syscall_execve(path, argv, envp uintptr) (err uintptr) {
    	_, err = syscall3(&libc_execve, path, argv, envp)
    	return
    }
    
    // like exit, but must not split stack, for fork.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/syscall_solaris.go

    //go:nosplit
    //go:linkname syscall_dup2
    func syscall_dup2(oldfd, newfd uintptr) (val, err uintptr) {
    	return syscall_fcntl(oldfd, _F_DUP2FD, newfd)
    }
    
    //go:nosplit
    //go:linkname syscall_execve
    //go:cgo_unsafe_args
    func syscall_execve(path, argv, envp uintptr) (err uintptr) {
    	call := libcall{
    		fn:   uintptr(unsafe.Pointer(&libc_execve)),
    		n:    3,
    		args: uintptr(unsafe.Pointer(&path)),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top