Source File
fcntl_darwin.go
Belonging Package
golang.org/x/sys/unix
// 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) {return fcntl(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}
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)