From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58223 invoked by alias); 17 Jun 2019 19:55:18 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 58213 invoked by uid 89); 17 Jun 2019 19:55:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GARBLED_BODY,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Languages-Length:976, universal, H*r:Client, H*F:D*ru X-HELO: forward103p.mail.yandex.net Received: from forward103p.mail.yandex.net (HELO forward103p.mail.yandex.net) (77.88.28.106) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Jun 2019 19:55:15 +0000 Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward103p.mail.yandex.net (Yandex) with ESMTP id CD31A18C1A47; Mon, 17 Jun 2019 22:55:10 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id sYfzzPWfy6-tAVi1460; Mon, 17 Jun 2019 22:55:10 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1560801310; bh=v2Ugate1aaPaJ3sgNks15DWVXrkmv4XtalAY1X8Y0SQ=; h=In-Reply-To:Cc:To:Subject:From:References:Date:Message-Id; b=Sur8gtr+by5dE/ZD5v/k7a6kpCKIiRi7cIFPSToUddFVBNMqIBRrfTCpoQLpWK1gJ Rbq3yU1V+nc/qa2Waxd+Dath2KL2rCFzXpRP4v/p2bjGZjpBUzCDIxDwhCZAulkHeP PJMciX8iLpNlZcPBtVX6D2viihLDHFM5LvHfdr4o= Authentication-Results: mxback4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dJ0T9617aJ-tAgiOCvO; Mon, 17 Jun 2019 22:55:10 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Date: Mon, 17 Jun 2019 19:55:00 -0000 From: Konstantin Kharlamov Subject: Re: Need info about the internals of printf To: Eswar Chandra Tadikonda Cc: libc-help@sourceware.org Message-Id: <1560801309.31538.0@yandex.ru> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00034.txt.bz2 =F7 =F7=D4, =C9=C0=CE 18, 2019 at 00:02, Eswar Chandra Tadikonda=20 =CE=C1=D0=C9=D3=C1=CC: > Hi, >=20 > I am going through the glibc source code cloned from the git=20 > repository. I > am quite interested on how the printf function works really under the=20 > code > to print the characters on display. >=20 > I actually got stuck at __vfprintf_internal function which i am not=20 > able to > find the definition through tags. BTW, is this the actual function=20 > called > internally by printf ? >=20 > Can you please help me on this code learning ? >=20 > Also please suggest me the right tools/method to traverse through the > source code... The reason you can't find is because universal ctags, etc, by default=20 disable detecting some stuff. Per this question=20 https://stackoverflow.com/q/3655743/2388257#when-using-exuberant-ctags-what= -options-to-you-use=20 you can use e.g. $ ctags --c-kinds=3D+defgpstux -R . then, with universal ctags, I see the tag.