Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for Pid_t (0.04 sec)

  1. src/runtime/defs2_linux.go

    file.  Sigh.
    */
    
    package runtime
    
    /*
    #cgo CFLAGS: -I/tmp/linux/arch/x86/include -I/tmp/linux/include -D_LOOSE_KERNEL_NAMES -D__ARCH_SI_UID_T=__kernel_uid32_t
    
    #define size_t __kernel_size_t
    #define pid_t int
    #include <asm/signal.h>
    #include <asm/mman.h>
    #include <asm/sigcontext.h>
    #include <asm/ucontext.h>
    #include <asm/siginfo.h>
    #include <asm-generic/errno.h>
    #include <asm-generic/fcntl.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 18:28:11 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. src/syscall/types_solaris.go

    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Pid_t C.pid_t
    
    type _Gid_t C.gid_t
    
    // Files
    
    const ( // Directory mode bits
    	S_IFMT   = C.S_IFMT
    	S_IFIFO  = C.S_IFIFO
    	S_IFCHR  = C.S_IFCHR
    	S_IFDIR  = C.S_IFDIR
    	S_IFBLK  = C.S_IFBLK
    	S_IFREG  = C.S_IFREG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

                        return 1;
                    } else {
                        pid = atoi(argv[1]);
                    }
                    pid_t getsid(pid_t pid);
                    sid = getsid(pid);
                    printf("%d\\n", sid);
                    return 0;
                }
            """)
        }
    
        void withProject(exeName, source) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    type _Gid_t uint32
    
    type dev_t uint64
    
    type Stat_t struct {
    	Dev      uint64
    	Ino      uint64
    	Mode     uint32
    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/os/signal/signal_cgo_test.go

    		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
    		// them return EINTR (darwin does this).
    		time.Sleep(pause)
    
    		// Give TTY back.
    		pid := int32(cmd.Process.Pid) // assume that pid_t is int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    type _Gid_t uint32
    
    type dev_t uint32
    
    type Stat_t struct {
    	Dev      uint32
    	Ino      uint32
    	Mode     uint32
    	Nlink    int16
    	Flag     uint16
    	Uid      uint32
    	Gid      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/syscall/exec_linux.go

    	childTID   uint64 // Where to store child TID, in child's memory (pid_t *)
    	parentTID  uint64 // Where to store child TID, in parent's memory (pid_t *)
    	exitSignal uint64 // Signal to deliver to parent on child termination
    	stack      uint64 // Pointer to lowest byte of stack
    	stackSize  uint64 // Size of stack
    	tls        uint64 // Location of new TLS
    	setTID     uint64 // Pointer to a pid_t array (since Linux 5.5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. src/syscall/exec_bsd.go

    		// Place child in process group.
    		_, _, err1 = RawSyscall(SYS_SETPGID, 0, uintptr(sys.Pgid), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	if sys.Foreground {
    		// This should really be pid_t, however _C_int (aka int32) is
    		// generally equivalent.
    		pgrp = _C_int(sys.Pgid)
    		if pgrp == 0 {
    			r1, _, err1 = RawSyscall(SYS_GETPID, 0, 0, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/syscall/exec_freebsd.go

    		// Place child in process group.
    		_, _, err1 = RawSyscall(SYS_SETPGID, 0, uintptr(sys.Pgid), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	if sys.Foreground {
    		// This should really be pid_t, however _C_int (aka int32) is
    		// generally equivalent.
    		pgrp = _C_int(sys.Pgid)
    		if pgrp == 0 {
    			r1, _, err1 = RawSyscall(SYS_GETPID, 0, 0, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. src/syscall/exec_libc2.go

    		_, _, err1 = rawSyscall(abi.FuncPCABI0(libc_setpgid_trampoline), 0, uintptr(sys.Pgid), 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	if sys.Foreground {
    		// This should really be pid_t, however _C_int (aka int32) is
    		// generally equivalent.
    		pgrp = _C_int(sys.Pgid)
    		if pgrp == 0 {
    			r1, _, err1 = rawSyscall(abi.FuncPCABI0(libc_getpid_trampoline), 0, 0, 0)
    			if err1 != 0 {
    				goto childerror
    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