// Copyright 2019 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.package uniximport// FcntlInt performs a fcntl syscall on fd with the provided command and argument.func ( uintptr, , int) (int, error) {returnfcntl(int(), , )}// FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.func ( uintptr, int, *Flock_t) error { , := fcntl(int(), , int(uintptr(unsafe.Pointer())))return}// FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.func ( uintptr, int, *Fstore_t) error { , := fcntl(int(), , int(uintptr(unsafe.Pointer())))return}
The pages are generated with Goldsv0.3.6. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.