mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Fiodar <fedor_qd@mail.ru>
To: musl@lists.openwall.com
Subject: Re[2]: [musl] missing decription struct named FILE
Date: Thu, 25 Feb 2016 22:36:34 +0300	[thread overview]
Message-ID: <1456428994.507095195@f336.i.mail.ru> (raw)
In-Reply-To: <20160225184612.GX9349@brightrain.aerifal.cx>

 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@libc.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
Стрижнёв Федор

  reply	other threads:[~2016-02-25 19:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 18:37 Fiodar
2016-02-25 18:46 ` Rich Felker
2016-02-25 19:36   ` Fiodar [this message]
2016-02-25 19:52     ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456428994.507095195@f336.i.mail.ru \
    --to=fedor_qd@mail.ru \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).