Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for _Gid_t (0.1 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func getgroups(n int, list *_Gid_t) (nn int, err error) {
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_GETGROUPS<<4, uintptr(n), uintptr(unsafe.Pointer(list)))
    	nn = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setgroups(n int, list *_Gid_t) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    const (
    	TIME_OK    = 0x0
    	TIME_INS   = 0x1
    	TIME_DEL   = 0x2
    	TIME_OOP   = 0x3
    	TIME_WAIT  = 0x4
    	TIME_ERROR = 0x5
    	TIME_BAD   = 0x5
    )
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Gid_t uint32
    
    type StatxTimestamp struct {
    	Sec  int64
    	Nsec uint32
    	_    int32
    }
    
    type Statx_t struct {
    	Mask             uint32
    	Blksize          uint32
    	Attributes       uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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. cni/pkg/nodeagent/net.go

    	for _, pip := range podIPs {
    		// Add to host ipset
    		log.Debugf("adding pod %s probe to ipset %s with ip %s", pod.Name, hostsideProbeSet.Prefix, pip)
    		// Add IP/port combo to set. Note that we set Replace to false here - we _did_ previously
    		// set it to true, but in theory that could mask weird scenarios where K8S triggers events out of order ->
    		// an add(sameIPreused) then delete(originalIP).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top