public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] for the printf.3 man page
@ 2022-07-06 13:31 Dr. Jürgen Sauermann
  2022-07-06 23:14 ` Alejandro Colomar
  0 siblings, 1 reply; 3+ messages in thread
From: Dr. Jürgen Sauermann @ 2022-07-06 13:31 UTC (permalink / raw)
  To: linux-man; +Cc: alx.manpages

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

Hi,

I would like to propose the attached patch for the printf(3) man page.

The patch adds the following sentence to the description of the ' flag 
(aka. thousands separator):

Note  also  that the default locale of a C program is "C" whose
locale information indicates no thousands' grouping  character.
Therefore,  without a prior setlocale(3) no thousands' grouping
  characters will be printed.


Best Regards,
Jürgen Sauermann


[-- Attachment #2: printf.3.patch --]
[-- Type: text/x-patch, Size: 241 bytes --]

380a381,384
> Note also that the default locale of a C program is "C" whose locale information
> indicates no thousands' grouping character. Therefore, without a prior
> .BR setlocale (3)
> no thousands' grouping characters will be printed.

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

end of thread, other threads:[~2022-07-19 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-06 13:31 [patch] for the printf.3 man page Dr. Jürgen Sauermann
2022-07-06 23:14 ` Alejandro Colomar
     [not found]   ` <30e334f2-8134-40f4-f956-ae6f7c0b3fb9@xn--jrgen-sauermann-zvb.de>
2022-07-19 14:57     ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox