I filed https://github.com/golang/go/issues/72923 just in case, since its 
easier to do this while everything is top of desk.

I appreciate all the help. Thanks again.

On Tuesday, March 18, 2025 at 3:27:42 PM UTC Jason E. Aten wrote:

> Thank you so much, Ian.
>
> On Tuesday, March 18, 2025 at 2:21:37 PM UTC Ian Lance Taylor wrote:
>
> Or in this case it seems simpler to just use the unix.FcntlFstore 
> function which already exists and does the right thing.
>
>
> I think I may have stumbled on/been tripped up by a bug in pkg.go.dev 
> then,
> because when I looked there, I did not see unix.FcntlFstore(). The
> list was simply these two: FcntlFlock, and FcntlInt. Copy and pasting it:
>
> *...*
>
>
>
> *func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err 
> error)func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) errorfunc 
> FcntlInt(fd uintptr, cmd, arg int) (int, error)func FdToClockID(fd int) 
> int32*
> *...*
>
> with no FcntlFstore in sight.  (Apologies for the screenshot attached, but
> it provides perhaps believable evidence of the same claim).
>
> Is it worth filing a bug on pkg.go.dev for this? Or maybe there is a way 
> I don't
> know about to have the darwin-specific calls show up in pkg.go.dev?
>
> Thanks again.
> Jason
>
>
> [image: no_listing_for_FcntlFstore_in_pkg_go_dev.png]
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/6cdc3485-909a-41f9-9335-f2639eda1682n%40googlegroups.com.

Reply via email to