Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for Flock_t (0.12 sec)

  1. api/go1.3.txt

    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pid int32
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Start int64
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Type int16
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Whence int16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go

    //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
    
    package unix
    
    func init() {
    	// On 32-bit Linux systems, the fcntl syscall that matches Go's
    	// Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
    	fcntl64Syscall = SYS_FCNTL64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 436 bytes
    - Viewed (0)
  3. src/syscall/flock_bsd.go

    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package syscall
    
    import "unsafe"
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 475 bytes
    - Viewed (0)
  4. src/syscall/flock_aix.go

    package syscall
    
    import "unsafe"
    
    // On AIX, there is no flock() system call.
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) (err error) {
    	_, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(lk)), 0, 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 570 bytes
    - Viewed (0)
  5. src/syscall/flock_linux_32bit.go

    //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle)
    
    package syscall
    
    func init() {
    	// On 32-bit Linux systems, the fcntl syscall that matches Go's
    	// Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
    	fcntl64Syscall = SYS_FCNTL64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:35:49 UTC 2024
    - 421 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/fcntl_darwin.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 := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
    	return err
    }
    
    // FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 806 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/fcntl.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 {
    	_, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
    	if errno == 0 {
    		return nil
    	}
    	return errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. src/syscall/flock_linux.go

    // systems by flock_linux_32bit.go to be SYS_FCNTL64.
    var fcntl64Syscall uintptr = SYS_FCNTL
    
    // 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 {
    	_, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk)))
    	if errno == 0 {
    		return nil
    	}
    	return errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 647 bytes
    - Viewed (0)
  9. src/syscall/syscall_unix_test.go

    // syscalls directly, it must use the real value, not the glibc value.
    // Thus this test also verifies that the Flock_t structure can be
    // roundtripped with F_SETLK and F_GETLK.
    func TestFcntlFlock(t *testing.T) {
    	if runtime.GOOS == "ios" {
    		t.Skip("skipping; no child processes allowed on iOS")
    	}
    	flock := syscall.Flock_t{
    		Type:  syscall.F_WRLCK,
    		Start: 31415, Len: 271828, Whence: 1,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  10. src/syscall/types_aix.go

    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
    
    type Dirent C.struct_dirent
    
    // Sockets
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
Back to top