Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	if int64(p) == -1 {
    		return pos, errnoErr2(e1, e2)
    	}
    	return pos, nil
    }
    
    // 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 {
    	// struct flock is packed on z/OS. We can't emulate that in Go so
    	// instead we pack it here.
    	var flock [24]byte
    	*(*int16)(unsafe.Pointer(&flock[0])) = lk.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top