public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Eswar Chandra Tadikonda <teswarsrinivas@gmail.com>
Cc: libc-help@sourceware.org
Subject: Re: Need info about the internals of printf
Date: Mon, 17 Jun 2019 18:37:00 -0000	[thread overview]
Message-ID: <875zp4dpng.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <CAAeyWSZE+66ivAv+sAxY8xNay2yRxZD3XTT-MJuFQWpR9iSqGA@mail.gmail.com>	(Eswar Chandra Tadikonda's message of "Tue, 18 Jun 2019 00:02:00	+0530")

* Eswar Chandra Tadikonda:

> I actually got stuck at __vfprintf_internal function which i am not able to
> find the definition through tags.

Tags browsers generally do not work with the glibc sources due to heavy
use of the preprocessor, unfortunately.

stdio-common/vfprintf-internal.c has the implementation, and it contains
this:

#ifndef COMPILE_WPRINTF
# define vfprintf       __vfprintf_internal

So its vfprintf function is actually __vfprintf_internal.

> BTW, is this the actual function called internally by printf ?

Yes, calls eventually end up there.

Thanks,
Florian

  reply	other threads:[~2019-06-17 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-17 18:32 Eswar Chandra Tadikonda
2019-06-17 18:37 ` Florian Weimer [this message]
2019-06-17 19:55 ` Konstantin Kharlamov

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=875zp4dpng.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-help@sourceware.org \
    --cc=teswarsrinivas@gmail.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).