mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Question: Why vfprintf call twice printf_core?
@ 2023-05-06  3:29 847567161
  2023-05-06  3:53 ` Markus Wichmann
  0 siblings, 1 reply; 7+ messages in thread
From: 847567161 @ 2023-05-06  3:29 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

Hello,
    I'm analyzing vfprintf performance, I don't know why musl call "printf_core(0, fmt, &ap2, nl_arg, nl_type)" here. Could you tell me the reason?https://gitee.com/openharmony/third_party_musl/blob/master/src/stdio/vfprintf.c#L668More info:    I use gdb to debug vfprintf , I found it return directly when calling printf_core firstly which file parameter is 0.https://gitee.com/openharmony/third_party_musl/blob/master/src/stdio/vfprintf.c#L526Best Regards Chuang Yin

[-- Attachment #2: Type: text/html, Size: 2425 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-07  1:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-06  3:29 [musl] Question: Why vfprintf call twice printf_core? 847567161
2023-05-06  3:53 ` Markus Wichmann
2023-05-06  5:24   ` =?gb18030?B?ODQ3NTY3MTYx?=
2023-05-06  6:25     ` Markus Wichmann
2023-05-06 17:55       ` NRK
2023-05-07  1:17       ` Rich Felker
2023-05-07  1:44         ` [musl] =?gb18030?B?u9i4tKO6IFttdXNsXSBRdWVzdGlvbjogV2h5IHZmcHJpbnRmIGNhbGwgdHdpY2UgcHJpbnRmX2NvcmU/?= =?gb18030?B?ODQ3NTY3MTYx?=

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).