Print this page
5604 widec.h should expose ws* under __EXTENSIONS__
*** 74,84 ****
extern size_t wsspn(const wchar_t *, const wchar_t *);
extern size_t wscspn(const wchar_t *, const wchar_t *);
extern int wscoll(const wchar_t *, const wchar_t *);
extern size_t wsxfrm(wchar_t *, const wchar_t *, size_t);
! #if !defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)
extern wchar_t *wsdup(const wchar_t *);
extern int wscol(const wchar_t *);
extern double wstod(const wchar_t *, wchar_t **);
extern long wstol(const wchar_t *, wchar_t **, int);
--- 74,84 ----
extern size_t wsspn(const wchar_t *, const wchar_t *);
extern size_t wscspn(const wchar_t *, const wchar_t *);
extern int wscoll(const wchar_t *, const wchar_t *);
extern size_t wsxfrm(wchar_t *, const wchar_t *, size_t);
! #if !defined(_STRICT_SYMBOLS)
extern wchar_t *wsdup(const wchar_t *);
extern int wscol(const wchar_t *);
extern double wstod(const wchar_t *, wchar_t **);
extern long wstol(const wchar_t *, wchar_t **, int);
*** 87,97 ****
extern int wsprintf(wchar_t *, const char *, ...);
#if defined(_LONGLONG_TYPE)
extern long long wstoll(const wchar_t *, wchar_t **, int);
#endif /* defined(_LONGLONG_TYPE) */
! #endif /* !defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX) */
/* Returns the code set number for the process code c. */
#define WCHAR_SHIFT 7
#define WCHAR_S_MASK 0x7f
#define wcsetno(c) \
--- 87,97 ----
extern int wsprintf(wchar_t *, const char *, ...);
#if defined(_LONGLONG_TYPE)
extern long long wstoll(const wchar_t *, wchar_t **, int);
#endif /* defined(_LONGLONG_TYPE) */
! #endif /* !defined(_STRICT_SYMBOLS) */
/* Returns the code set number for the process code c. */
#define WCHAR_SHIFT 7
#define WCHAR_S_MASK 0x7f
#define wcsetno(c) \