widec.h (ba3594ba9b5dd4c846c472a8d657edcb7c8109ac) widec.h (01fbe6ad23cb7fa68bde22fb8edde979ebfb34da)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 62 unchanged lines hidden (view full) ---

71extern int wscmp(const wchar_t *, const wchar_t *);
72extern int wsncmp(const wchar_t *, const wchar_t *, size_t);
73extern size_t wslen(const wchar_t *);
74extern size_t wsspn(const wchar_t *, const wchar_t *);
75extern size_t wscspn(const wchar_t *, const wchar_t *);
76extern int wscoll(const wchar_t *, const wchar_t *);
77extern size_t wsxfrm(wchar_t *, const wchar_t *, size_t);
78
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 62 unchanged lines hidden (view full) ---

71extern int wscmp(const wchar_t *, const wchar_t *);
72extern int wsncmp(const wchar_t *, const wchar_t *, size_t);
73extern size_t wslen(const wchar_t *);
74extern size_t wsspn(const wchar_t *, const wchar_t *);
75extern size_t wscspn(const wchar_t *, const wchar_t *);
76extern int wscoll(const wchar_t *, const wchar_t *);
77extern size_t wsxfrm(wchar_t *, const wchar_t *, size_t);
78
79#if !defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)
79#if !defined(_STRICT_SYMBOLS)
80
81extern wchar_t *wsdup(const wchar_t *);
82extern int wscol(const wchar_t *);
83extern double wstod(const wchar_t *, wchar_t **);
84extern long wstol(const wchar_t *, wchar_t **, int);
85extern int wscasecmp(const wchar_t *, const wchar_t *);
86extern int wsncasecmp(const wchar_t *, const wchar_t *, size_t);
87extern int wsprintf(wchar_t *, const char *, ...);
88#if defined(_LONGLONG_TYPE)
89extern long long wstoll(const wchar_t *, wchar_t **, int);
90#endif /* defined(_LONGLONG_TYPE) */
91
80
81extern wchar_t *wsdup(const wchar_t *);
82extern int wscol(const wchar_t *);
83extern double wstod(const wchar_t *, wchar_t **);
84extern long wstol(const wchar_t *, wchar_t **, int);
85extern int wscasecmp(const wchar_t *, const wchar_t *);
86extern int wsncasecmp(const wchar_t *, const wchar_t *, size_t);
87extern int wsprintf(wchar_t *, const char *, ...);
88#if defined(_LONGLONG_TYPE)
89extern long long wstoll(const wchar_t *, wchar_t **, int);
90#endif /* defined(_LONGLONG_TYPE) */
91
92#endif /* !defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX) */
92#endif /* !defined(_STRICT_SYMBOLS) */
93
94/* Returns the code set number for the process code c. */
95#define WCHAR_SHIFT 7
96#define WCHAR_S_MASK 0x7f
97#define wcsetno(c) \
98 (((c)&0x20000000)?(((c)&0x10000000)?1:3):(((c)&0x10000000)?2:0))
99
100/* Aliases... */

--- 26 unchanged lines hidden ---
93
94/* Returns the code set number for the process code c. */
95#define WCHAR_SHIFT 7
96#define WCHAR_S_MASK 0x7f
97#define wcsetno(c) \
98 (((c)&0x20000000)?(((c)&0x10000000)?1:3):(((c)&0x10000000)?2:0))
99
100/* Aliases... */

--- 26 unchanged lines hidden ---