- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Getpgrp (0.12 sec)
-
src/syscall/exec_solaris_test.go
// license that can be found in the LICENSE file. //go:build solaris package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/syscall/exec_aix_test.go
// license that can be found in the LICENSE file. //go:build aix package syscall import "unsafe" //go:cgo_import_dynamic libc_Getpgid getpgid "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o" //go:linkname libc_Getpgid libc_Getpgid //go:linkname libc_Getpgrp libc_Getpgrp var ( libc_Getpgid, libc_Getpgrp libcFunc ) func Getpgid(pid int) (pgid int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 1.1K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
proc := exec.Command("cat") stdin, err := proc.StdinPipe() if err != nil { t.Fatal(err) } return &command{stdin, proc, t} } func parent() (pid, pgrp int) { return syscall.Getpid(), syscall.Getpgrp() } func TestZeroSysProcAttr(t *testing.T) { ppid, ppgrp := parent() cmd := create(t) cmd.Start() defer cmd.Stop() cpid, cpgrp := cmd.Info() if cpid == ppid {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/os/signal/signal_cgo_test.go
return fmt.Errorf("error waiting for stop: %w", err) } if !status.Stopped() { return fmt.Errorf("unexpected wait status: %v", status) } // Take TTY. pgrp := int32(syscall.Getpgrp()) // assume that pid_t is int32 if err := unix.Tcsetpgrp(ptyFD, pgrp); err != nil { return fmt.Errorf("error setting tty process group: %w", err) } // Give the kernel time to potentially wake readers and have
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go
//sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int) //sysnb Getgid() (gid int) //sysnb Getpgid(pid int) (pgid int, err error) //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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 15.6K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm.go
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgrp int) { r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getpgrp_trampoline), 0, 0, 0) pgrp = int(r0) return } func libc_getpgrp_trampoline() //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.6K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_riscv64.go
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgrp int) { r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getpgrp_trampoline), 0, 0, 0) pgrp = int(r0) return } func libc_getpgrp_trampoline() //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.5K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_amd64.go
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgrp int) { r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getpgrp_trampoline), 0, 0, 0) pgrp = int(r0) return } func libc_getpgrp_trampoline() //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm64.go
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgrp int) { r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getpgrp_trampoline), 0, 0, 0) pgrp = int(r0) return } func libc_getpgrp_trampoline() //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0)