Bug 105461 - scanf flags documentation
Summary: scanf flags documentation
Status: RESOLVED CODE_FIX
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-04 20:27 UTC by Jon Harper
Modified: 2017-01-25 22:56 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jon Harper 2015-10-04 20:27:53 UTC
I'm trying to improve the scanf documentation in glibc regarding the "'" and possibly "I" flags: https://sourceware.org/ml/libc-help/2015-10/msg00003.html

The scanf(3) page seems to be a partial copy of the glibc texinfo manual, so the improvements should apply to it.

I'm using this bug as a remainder; for now, I think we should wait until the glibc manual is updated.
Comment 1 Michael Kerrisk 2017-01-25 22:56:52 UTC
I'm closing this bug as it's been inactive for some time. But, I have added the following text to scanf(3):

       ·      For decimal conversions, an optional quote  character  (').
              This  specifies that the input number may include the thou‐
              sands' separator as defined by the LC_NUMERIC  category  of
              the current locale.  (See setlocale(3).)  The quote charac‐
              ter may precede or follow  the  '*'  assignment-suppression
              character.

Note You need to log in before you can comment on or make changes to this bug.