Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for execveLibc (0.1 sec)

  1. src/syscall/exec_unix.go

    	return pid, 0, err
    }
    
    // Implemented in runtime package.
    func runtime_BeforeExec()
    func runtime_AfterExec()
    
    // execveLibc is non-nil on OS using libc syscall, set to execve in exec_libc.go; this
    // avoids a build dependency for other platforms.
    var execveLibc func(path uintptr, argv uintptr, envp uintptr) Errno
    var execveDarwin func(path *byte, argv **byte, envp **byte) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/syscall/exec_libc.go

    func write1(fd uintptr, buf uintptr, nbyte uintptr) (n uintptr, err Errno)
    
    // syscall defines this global on our behalf to avoid a build dependency on other platforms
    func init() {
    	execveLibc = execve
    }
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top