Add internal implementations for argp.h, err.h, and error.h functions
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Wed, 6 Jun 2018 14:48:49 +0000 (11:48 -0300)
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>
Thu, 21 Feb 2019 13:28:50 +0000 (10:28 -0300)
commitf43b8dd55588c32d12a461251e4f7598c5fed97f
treef4d0ba0396fc8740476256e709075302d7e60d4e
parentdc0afac3252d0c53716ccaf0b424f7769a66d695
Add internal implementations for argp.h, err.h, and error.h functions

Since the introduction of explicit flags in the internal implementation
of the printf family of functions, the 'mode' parameter can be used to
select which format long double parameters have (with the mode flag:
PRINTF_LDBL_IS_DBL).  This patch uses this feature in the implementation
of some functions in argp.h, err.h, and error.h (only those that take a
format string and positional parameters).  Future patches will add
support for 'nldbl' and 'ieee128' versions of these functions.

Tested for powerpc64le and x86_64.
ChangeLog
argp/argp-help.c
include/stdio.h
misc/err.c
misc/error.c
stdio-common/fxprintf.c