1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
/*
Copyright (c) 1990 Regents of the University of California.
All rights reserved.
*/
/* Misc. local definitions for libc/stdlib */
#ifndef _LOCAL_H_
#define _LOCAL_H_
#include <stdint.h>
char *_gcvt(double, int, char *, char, int);
#include "locale_private.h"
#ifndef __machine_mbstate_t_defined
#include <wchar.h>
#endif
#ifdef __AVR__
typedef unsigned int uwchar_t;
#else
typedef wchar_t uwchar_t;
#endif
mbtowc_f __ascii_mbtowc;
wctomb_f __ascii_wctomb;
#ifdef __MB_CAPABLE
mbtowc_f __utf8_mbtowc;
wctomb_f __utf8_wctomb;
#ifdef __MB_EXTENDED_CHARSETS_ISO
extern const uint16_t __iso_8859_conv[14][0x60];
extern const uint16_t __iso_8859_max[14];
#endif
#ifdef __MB_EXTENDED_CHARSETS_WINDOWS
extern const uint16_t __cp_conv[27][0x80];
extern const uint16_t __cp_max[27];
#endif
#endif
size_t _wcsnrtombs_l(char *, const wchar_t **, size_t, size_t, mbstate_t *, locale_t);
#endif
|