[Bug 277234] About the definition of FILE in the freebsd-src/include/stdio.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Nov 2024 21:36:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277234

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Closed
         Resolution|---                         |Not Accepted

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Sorry this PR didn't get any attention when it was submitted.

I don't really understand what problem you are reporting.  It sounds like
you're referring to the use of void * here:

        /* operations */
        void    *_cookie;       /* (*) cookie passed to io functions */
        int     (* _Nullable _close)(void *);
        int     (* _Nullable _read)(void *, char *, int);
        fpos_t  (* _Nullable _seek)(void *, fpos_t, int);
        int     (* _Nullable _write)(void *, const char *, int);

but this is a very common pattern in C interfaces.

Please feel free to re-open if you can clarify what exactly should change.

-- 
You are receiving this mail because:
You are the assignee for the bug.