bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* [adhemerval.zanella@linaro.org: Re: strftime() _GNU_SOURCE extension request]
@ 2021-10-08  6:36 Vito Caputo
  0 siblings, 0 replies; only message in thread
From: Vito Caputo @ 2021-10-08  6:36 UTC (permalink / raw)
  To: bug-gnulib

Hello bug-gnulib, I'm not subscribed so please CC me directly in any
replies if necessary.

Please consider the below forwarded message, thanks.

----- Forwarded message from Adhemerval Zanella <adhemerval.zanella@linaro.org> -----

Date: Thu, 7 Oct 2021 16:31:31 -0300
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Vito Caputo <vcaputo@pengaru.com>, libc-help@sourceware.org
Subject: Re: strftime() _GNU_SOURCE extension request
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0



On 25/09/2021 03:15, Vito Caputo wrote:
> Hello list,
> 
> I'd like to propose a _GNU_SOURCE extension for strftime() treating
> str=NULL similarly to snprintf()'s C99 handling of str=NULL; write
> nothing to str, but return the number of bytes that /would/ be written
> if str were non-NULL and sufficiently large.

It sounds reasonable, I would suggestion you to check if gnulib is
willing to push for such change all well, since the code came from
them originally.

----- End forwarded message -----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-08 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  6:36 [adhemerval.zanella@linaro.org: Re: strftime() _GNU_SOURCE extension request] Vito Caputo

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