Switch to the OpenBSD implementations of the wide scanf functions.
This also gets us the C99 wcstoimax and wcstoumax, and a working fgetwc and ungetwc, all of which are needed in the implementation. This also brings several other files closer to upstream. Change-Id: I23b025a8237a6dbb9aa50d2a96765ea729a85579
This commit is contained in:
@@ -254,13 +254,14 @@ typedef struct {
|
||||
} imaxdiv_t;
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
intmax_t imaxabs(intmax_t) __pure2;
|
||||
imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2;
|
||||
|
||||
intmax_t strtoimax(const char *, char **, int);
|
||||
uintmax_t strtoumax(const char *, char **, int);
|
||||
|
||||
intmax_t wcstoimax(const wchar_t * __restrict,
|
||||
wchar_t ** __restrict, int);
|
||||
uintmax_t wcstoumax(const wchar_t * __restrict,
|
||||
wchar_t ** __restrict, int);
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _INTTYPES_H_ */
|
||||
|
Reference in New Issue
Block a user