Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Pid_t (0.35 sec)

  1. src/internal/syscall/unix/tcsetpgrp_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    // Note that pgid should really be pid_t, however _C_int (aka int32) is
    // generally equivalent.
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 537 bytes
    - Viewed (0)
  2. src/syscall/export_bsd_test.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package syscall
    
    import (
    	"unsafe"
    )
    
    // pgid should really be pid_t, however _C_int (aka int32) is generally
    // equivalent.
    
    func Tcgetpgrp(fd int) (pgid int32, err error) {
    	if err := ioctlPtr(fd, TIOCGPGRP, unsafe.Pointer(&pgid)); err != nil {
    		return -1, err
    	}
    	return pgid, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 619 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/tcsetpgrp_bsd.go

    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    //go:linkname ioctlPtr syscall.ioctlPtr
    func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error)
    
    // Note that pgid should really be pid_t, however _C_int (aka int32) is
    // generally equivalent.
    
    func Tcsetpgrp(fd int, pgid int32) (err error) {
    	return ioctlPtr(fd, syscall.TIOCSPGRP, unsafe.Pointer(&pgid))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 588 bytes
    - Viewed (0)
  4. src/syscall/types_aix.go

    type Timeval C.struct_timeval
    
    type Timeval32 C.struct_timeval32
    
    type Timezone C.struct_timezone
    
    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Pid_t C.pid_t
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Flock_t C.struct_flock
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Fsid64_t C.fsid64_t
    
    type StTimespec_t C.st_timespec_t
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top