locale.h: Add a bogus definition of locale_t
This commit is contained in:
parent
332ab0359e
commit
14ae6df182
@ -12,11 +12,11 @@ Contents:
|
||||
Files in this directory
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
dev_null.c and dev_zero.c
|
||||
These files provide the standard /dev/null and /dev/zero devices.
|
||||
See include/nuttx/fs/fs.h for functions that should be called if you
|
||||
want to register these devices (devnull_register() and
|
||||
devzero_register()).
|
||||
dev_null.c, dev_urandom, and dev_zero.c
|
||||
These files provide the standard /dev/null, /dev/urandom, and /dev/zero
|
||||
devices. See include/nuttx/drivers/driers.h for prototypes of functions
|
||||
that should be called if you want to register these devices
|
||||
(devnull_register(), devurandom_register(), and devzero_register()).
|
||||
|
||||
pwm.c
|
||||
Provides the "upper half" of a pulse width modulation (PWM) driver.
|
||||
|
@ -48,6 +48,7 @@
|
||||
|
||||
namespace std
|
||||
{
|
||||
using ::locale_t;
|
||||
using ::setlocale;
|
||||
using ::localeconv;
|
||||
}
|
||||
|
@ -59,6 +59,10 @@
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* OpenGroup.org: "The locale.h header shall define the lconv structure,
|
||||
* which shall include at least the following members. ..."
|
||||
*/
|
||||
|
||||
struct lconv
|
||||
{
|
||||
FAR char *decimal_point;
|
||||
@ -87,6 +91,12 @@ struct lconv
|
||||
FAR char int_p_sign_posn;
|
||||
};
|
||||
|
||||
/* OpenGroup.org: The locale.h header shall define the locale_t type,
|
||||
* representing a locale object
|
||||
*/
|
||||
|
||||
typedef FAR void *locale_t;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user