Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2024 21:36:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277234] About the definition of FILE in the freebsd-src/include/stdio.h
Message-ID:  <bug-277234-227-IWjc1vy9Wp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277234-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277234-227-IWjc1vy9Wp>