- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for envvp (0.08 sec)
-
src/syscall/exec_unix.go
// 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 var execveOpenBSD func(path *byte, argv **byte, envp **byte) error // Exec invokes the execve(2) system call. func Exec(argv0 string, argv []string, envv []string) (err error) { argv0p, err := BytePtrFromString(argv0) if err != nil { return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/rt0_linux_ppc64le.s
// In a statically linked binary, the stack contains argc, // argv as argc string pointers followed by a NULL, envv as a // sequence of string pointers followed by a NULL, and auxv. // The TLS pointer should be initialized to 0. // // In an ELFv2 compliant dynamically linked binary, R3 contains argc, // R4 contains argv, R5 contains envp, R6 contains auxv, and R13 // contains the TLS pointer. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/syscall/env_windows.go
} } } } func Environ() []string { envp, e := GetEnvironmentStrings() if e != nil { return nil } defer FreeEnvironmentStrings(envp) r := make([]string, 0, 50) // Empty with room to grow. const size = unsafe.Sizeof(*envp) for *envp != 0 { // environment block ends with empty string // find NUL terminator end := unsafe.Pointer(envp) for *(*uint16)(end) != 0 { end = unsafe.Add(end, size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 04 15:31:54 UTC 2023 - 2K bytes - Viewed (0) -
src/syscall/exec_libc.go
func chdir(path uintptr) (err Errno) func chroot1(path uintptr) (err Errno) func closeFD(fd uintptr) (err Errno) func dup2child(old uintptr, new uintptr) (val uintptr, err Errno) func execve(path uintptr, argv uintptr, envp uintptr) (err Errno) func exit(code uintptr) func fcntl1(fd uintptr, cmd uintptr, arg uintptr) (val uintptr, err Errno) func forkx(flags uintptr) (pid uintptr, err Errno) func getpid() (pid uintptr, err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy
public Process exec(String command, String[] envp) { return null; } public Process exec(String command, String[] envp, File file) { return null; } public Process exec(String command, List<?> envp, File file) { return null; } public Process exec(String[] command) { return null; } public Process exec(String[] command, String[] envp) { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java
externalProcessStarted(command, consumer); return runtime.exec(command, envp); } public static Process exec(Runtime runtime, String[] command, String[] envp, String consumer) throws IOException { externalProcessStarted(command, consumer); return runtime.exec(command, envp); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 34.2K bytes - Viewed (0) -
src/syscall/exec_plan9.go
// Write new environment variables. if envv != nil { for i = 0; i < len(envv); i++ { r1, _, _ = RawSyscall(SYS_CREATE, uintptr(unsafe.Pointer(envv[i].name)), uintptr(O_WRONLY), uintptr(0666)) if int32(r1) == -1 { goto childerror } envfd = int(r1) r1, _, _ = RawSyscall6(SYS_PWRITE, uintptr(envfd), uintptr(unsafe.Pointer(envv[i].value)), uintptr(envv[i].nvalue), ^uintptr(0), ^uintptr(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/syscall/exec_windows.go
func createEnvBlock(envv []string) ([]uint16, error) { if len(envv) == 0 { return utf16.Encode([]rune("\x00\x00")), nil } var length int for _, s := range envv { if bytealg.IndexByteString(s, 0) != -1 { return nil, EINVAL } length += len(s) + 1 } length += 1 b := make([]uint16, 0, length) for _, s := range envv { for _, c := range s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 18:29:48 UTC 2023 - 10.3K bytes - Viewed (0) -
src/syscall/exec_bsd.go
} // Implemented in runtime package. func runtime_BeforeFork() func runtime_AfterFork() func runtime_AfterForkInChild() // 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.) // In the child, this function must not acquire any locks, because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
src/syscall/exec_freebsd.go
_PROC_PDEATHSIG_CTL = 11 ) // Implemented in runtime package. func runtime_BeforeFork() func runtime_AfterFork() func runtime_AfterForkInChild() // 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.) // In the child, this function must not acquire any locks, because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0)