Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 113 for Flock_t (0.31 sec)

  1. internal/lock/lock_solaris.go

    	case syscall.O_RDWR | syscall.O_CREAT:
    		lockType = syscall.F_WRLCK
    	default:
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	lock := syscall.Flock_t{
    		Start:  0,
    		Len:    0,
    		Pid:    0,
    		Type:   lockType,
    		Whence: 0,
    	}
    
    	f, err := os.OpenFile(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/syscall/types_darwin.go

    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat64
    
    type Statfs_t C.struct_statfs64
    
    type Flock_t C.struct_flock
    
    type Fstore_t C.struct_fstore
    
    type Radvisory_t C.struct_radvisory
    
    type Fbootstraptransfer_t C.struct_fbootstraptransfer
    
    type Log2phys_t C.struct_log2phys
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. src/syscall/types_solaris.go

    	S_ISGID  = C.S_ISGID
    	S_ISVTX  = C.S_ISVTX
    	S_IRUSR  = C.S_IRUSR
    	S_IWUSR  = C.S_IWUSR
    	S_IXUSR  = C.S_IXUSR
    	S_IRWXG  = C.S_IRWXG
    	S_IRWXO  = C.S_IRWXO
    )
    
    type Stat_t C.struct_stat
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    // Sockets
    
    type RawSockaddrInet4 C.struct_sockaddr_in
    
    type RawSockaddrInet6 C.struct_sockaddr_in6
    
    type RawSockaddrUnix C.struct_sockaddr_un
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  4. src/syscall/types_openbsd.go

    	S_IRUSR  = C.S_IRUSR
    	S_IWUSR  = C.S_IWUSR
    	S_IXUSR  = C.S_IXUSR
    	S_IRWXG  = C.S_IRWXG
    	S_IRWXO  = C.S_IRWXO
    )
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.fsid_t
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    type RawSockaddrInet4 C.struct_sockaddr_in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  5. src/syscall/ztypes_aix_ppc64.go

    	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 Flock_t struct {
    	Type   int16
    	Whence int16
    	Sysid  uint32
    	Pid    int32
    	Vfs    int32
    	Start  int64
    	Len    int64
    }
    
    type Stat_t struct {
    	Dev      uint64
    	Ino      uint64
    	Mode     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  6. src/syscall/ztypes_solaris_amd64.go

    	Rdev      uint64
    	Size      int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Blksize   int32
    	Pad_cgo_0 [4]byte
    	Blocks    int64
    	Fstype    [16]int8
    }
    
    type Flock_t struct {
    	Type      int16
    	Whence    int16
    	Pad_cgo_0 [4]byte
    	Start     int64
    	Len       int64
    	Sysid     int32
    	Pid       int32
    	Pad       [4]int64
    }
    
    type Dirent struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	POLLHUP    = 0x2000
    	POLLIN     = 0x1
    	POLLNVAL   = 0x8000
    	POLLOUT    = 0x2
    	POLLPRI    = 0x4
    	POLLRDBAND = 0x20
    	POLLRDNORM = 0x10
    	POLLWRBAND = 0x40
    	POLLWRNORM = 0x2
    )
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Sysid  uint32
    	Pid    int32
    	Vfs    int32
    	Start  int64
    	Len    int64
    }
    
    type Fsid_t struct {
    	Val [2]uint32
    }
    type Fsid64_t struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/syscall/types_dragonfly.go

    	S_IRUSR  = C.S_IRUSR
    	S_IWUSR  = C.S_IWUSR
    	S_IXUSR  = C.S_IXUSR
    	S_IRWXG  = C.S_IRWXG
    	S_IRWXO  = C.S_IRWXO
    )
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.struct_fsid
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  9. src/syscall/types_netbsd.go

    // Processes
    
    type Rusage C.struct_rusage
    
    type Rlimit C.struct_rlimit
    
    type _Gid_t C.gid_t
    
    // Files
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.fsid_t
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    type RawSockaddrInet4 C.struct_sockaddr_in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. src/syscall/ztypes_netbsd_386.go

    	Birthtimespec Timespec
    	Size          int64
    	Blocks        int64
    	Blksize       uint32
    	Flags         uint32
    	Gen           uint32
    	Spare         [2]uint32
    }
    
    type Statfs_t [0]byte
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top