Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 113 for Flock_t (0.26 sec)

  1. cmd/kubeadm/app/util/users/users_linux.go

    		// the case where a runaway process grabs the exclusive lock and
    		// blocks this call indefinitely.
    		// https://man7.org/linux/man-pages/man2/fcntl.2.html
    		lock := syscall.Flock_t{Type: syscall.F_WRLCK}
    		if err = syscall.FcntlFlock(f.Fd(), syscall.F_SETLK, &lock); err == nil {
    			break
    		}
    		time.Sleep(200 * time.Millisecond)
    		if time.Now().After(deadline) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  2. src/syscall/ztypes_linux_amd64.go

    type Dirent struct {
    	Ino       uint64
    	Off       int64
    	Reclen    uint16
    	Type      uint8
    	Name      [256]int8
    	Pad_cgo_0 [5]byte
    }
    
    type Fsid struct {
    	X__val [2]int32
    }
    
    type Flock_t struct {
    	Type      int16
    	Whence    int16
    	Pad_cgo_0 [4]byte
    	Start     int64
    	Len       int64
    	Pid       int32
    	Pad_cgo_1 [4]byte
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
    	return fcntl(int(fd), cmd, arg)
    }
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntlPtr(int(fd), cmd, unsafe.Pointer(lk))
    	return err
    }
    
    //sys	ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    //sys	FcntlInt(fd uintptr, cmd int, arg int) (r int,err error) = fcntl
    
    // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
    //sys	FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) = fcntl
    
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    
    //sys	fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range
    
    func Fsync(fd int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_solaris.go

    }
    
    //sys	fcntl(fd int, cmd int, arg int) (val int, err error)
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    	if e1 != 0 {
    		return e1
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (freebsd-arm), type Flock_t struct
    pkg syscall (freebsd-arm), type Flock_t struct, Len int64
    pkg syscall (freebsd-arm), type Flock_t struct, Pid int32
    pkg syscall (freebsd-arm), type Flock_t struct, Start int64
    pkg syscall (freebsd-arm), type Flock_t struct, Sysid int32
    pkg syscall (freebsd-arm), type Flock_t struct, Type int16
    pkg syscall (freebsd-arm), type Flock_t struct, Whence int16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
  7. api/go1.14.txt

    pkg syscall (freebsd-arm64), type Flock_t struct
    pkg syscall (freebsd-arm64), type Flock_t struct, Len int64
    pkg syscall (freebsd-arm64), type Flock_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (freebsd-arm64), type Flock_t struct, Pid int32
    pkg syscall (freebsd-arm64), type Flock_t struct, Start int64
    pkg syscall (freebsd-arm64), type Flock_t struct, Sysid int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Flock_t struct
    pkg syscall (netbsd-arm64-cgo), type Flock_t struct, Len int64
    pkg syscall (netbsd-arm64-cgo), type Flock_t struct, Pid int32
    pkg syscall (netbsd-arm64-cgo), type Flock_t struct, Start int64
    pkg syscall (netbsd-arm64-cgo), type Flock_t struct, Type int16
    pkg syscall (netbsd-arm64-cgo), type Flock_t struct, Whence int16
    pkg syscall (netbsd-arm64-cgo), type Fsid struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type Flock_t struct #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Len int64 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Pad_cgo_0 [4]uint8 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Pid int32 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Start int64 #53466
    pkg syscall (freebsd-riscv64), type Flock_t struct, Sysid int32 #53466
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg syscall (darwin-arm64), type Flock_t struct
    pkg syscall (darwin-arm64), type Flock_t struct, Len int64
    pkg syscall (darwin-arm64), type Flock_t struct, Pid int32
    pkg syscall (darwin-arm64), type Flock_t struct, Start int64
    pkg syscall (darwin-arm64), type Flock_t struct, Type int16
    pkg syscall (darwin-arm64), type Flock_t struct, Whence int16
    pkg syscall (darwin-arm64), type Fsid struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top