Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 25 Feb 2016 22:36:34 +0300
From: Fiodar <fedor_qd@...l.ru>
To: musl@...ts.openwall.com
Subject: Re[2]: missing decription struct named FILE

 I always think that FILE is stable public api and may have specific augmentation in various libc implementations/versions.
I use musl libc 1.1.14. I need description all fields and how read, write an seek operates internally with them.
Thanks.


>Чацвер, 25 лютага 2016, 13:46 -05:00 ад Rich Felker <dalias@...c.org>:
>
>On Thu, Feb 25, 2016 at 09:37:41PM +0300, Fiodar wrote:
>> How use FILE struct? How does it fields serve? Missing comments, google keep silence...
>> What I know  FILE is typedefed to struct _IO_FILE. 
>> Also I recognize 3 pointers to function by they name: size_t
>> (*read), size_t (*write), off_t (*seek). Thei points to functions
>> named read, write an seek, isn't in? Can you give description these
>> fields? I am working with musl libc 1.1.14 now
>
>The contents are defined in src/internal/stdio_impl.h, but they are
>not a public API and are subject to change. Do you have specific
>questions about some of the fields?
>
>Rich


Stryzhniou Fiodar
Стрижнёв Федор

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.