fmt/doc
Mike Crowe 0d46c7fb36 printf: Add support for glibc's %m format
glibc's printf family of functions support '%m' to emit the error string
that corresponds to the current value of errno. It has no corresponding
argument.

In order to take advantage of safe_strerror, PrintfFormatter::format calls
format_system_error, which has been modified to not emit the separator if
the message prefix is empty.

'm' needs to be added to the list of special characters in format-test.cc's
check_unknown_types since it would otherwise always be valid in the format
string.

The AppVeyor mingw test shows that errno is being reset to zero during the
processing of '%m', so it needs to be explicitly preserved. This doesn't
seem to happen on Linux, MacOS, or Windows with MSVC but the preservation
code does no harm.
2017-07-22 17:04:02 +01:00
..
_static Customize Sphinx theme 2015-05-19 08:13:13 -07:00
_templates Fix download link 2016-06-03 08:19:24 -07:00
basic-bootstrap add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5 2017-04-15 08:42:05 -07:00
bootstrap .container -> .tb-container (fixes #165) 2015-05-23 12:28:41 -07:00
api.rst printf: Add support for glibc's %m format 2017-07-22 17:04:02 +01:00
build.py Update scripts 2017-07-01 07:30:51 -07:00
CMakeLists.txt Pass versions from CMake to Sphinx 2016-06-02 06:41:25 -07:00
conf.py Pass versions from CMake to Sphinx 2016-06-02 06:41:25 -07:00
contents.rst Customize Sphinx theme 2015-05-19 08:13:13 -07:00
fmt.less cppformat -> fmt 2016-04-24 10:39:33 -07:00
index.rst Update homepage and break long lines 2016-07-21 09:00:23 -07:00
python-license.txt Move license to a separate file 2015-05-07 06:43:13 -07:00
syntax.rst argument index -> argument id 2016-11-01 17:00:59 -07:00
usage.rst Describe cmake use of header-only target 2017-05-29 16:31:52 -07:00