x/sys/unix: IoctlFileClone takes int for file descriptors and not uintptr #64992
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Milestone
Go version
go version go1.21.3 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I am trying to use
unix.IoctlFileClone
.What did you see happen?
I noticed that I have to cast Go file descriptors (
file.Fd()
) toint
.What did you expect to see?
That I would not have to cast file descriptors (which are in Go
uintptr
) toint
.The text was updated successfully, but these errors were encountered: