x/sys/unix: F_OFD_* consts are not present on Darwin #73351
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
OS-Darwin
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
Go version
go version go1.24.0 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
man fcntl describes OFD locks which are available on MacOS (initially invented on Linux).
However,
syscall/zerrors_darwin_*.go
files are missing definitions for these 3 consts:F_OFD_GETLK
,F_OFD_SETLK
andF_OFD_SETLKW
What did you see happen?
not relevant
What did you expect to see?
consts present in Go definitions
The text was updated successfully, but these errors were encountered: