wchar.h (187961) | wchar.h (189136) |
---|---|
1/*- 2 * Copyright (c)1999 Citrus Project, 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c)1999 Citrus Project, 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/include/wchar.h 187961 2009-01-31 18:27:02Z das $ | 26 * $FreeBSD: head/include/wchar.h 189136 2009-02-28 06:00:58Z das $ |
27 */ 28 29/*- 30 * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. 31 * All rights reserved. 32 * 33 * This code is derived from software contributed to The NetBSD Foundation 34 * by Julian Coleman. --- 170 unchanged lines hidden (view full) --- 205#endif /* __ISO_C_VISIBLE >= 1999 */ 206 207#if __XSI_VISIBLE 208int wcswidth(const wchar_t *, size_t); 209int wcwidth(wchar_t); 210#define wcwidth(_c) __wcwidth(_c) 211#endif 212 | 27 */ 28 29/*- 30 * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. 31 * All rights reserved. 32 * 33 * This code is derived from software contributed to The NetBSD Foundation 34 * by Julian Coleman. --- 170 unchanged lines hidden (view full) --- 205#endif /* __ISO_C_VISIBLE >= 1999 */ 206 207#if __XSI_VISIBLE 208int wcswidth(const wchar_t *, size_t); 209int wcwidth(wchar_t); 210#define wcwidth(_c) __wcwidth(_c) 211#endif 212 |
213#if __BSD_VISIBLE 214wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict); | 213#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE |
215size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, 216 size_t, mbstate_t * __restrict); 217wchar_t *wcsdup(const wchar_t *) __malloc_like; | 214size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, 215 size_t, mbstate_t * __restrict); 216wchar_t *wcsdup(const wchar_t *) __malloc_like; |
217int wcscasecmp(const wchar_t *, const wchar_t *); 218int wcsncasecmp(const wchar_t *, const wchar_t *, size_t n); 219size_t wcsnlen(const wchar_t *, size_t) __pure; |
|
218size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t, 219 size_t, mbstate_t * __restrict); | 220size_t wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t, 221 size_t, mbstate_t * __restrict); |
222#endif 223 224#if __BSD_VISIBLE 225wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict); |
|
220size_t wcslcat(wchar_t *, const wchar_t *, size_t); 221size_t wcslcpy(wchar_t *, const wchar_t *, size_t); 222#endif 223__END_DECLS 224 225#endif /* !_WCHAR_H_ */ | 226size_t wcslcat(wchar_t *, const wchar_t *, size_t); 227size_t wcslcpy(wchar_t *, const wchar_t *, size_t); 228#endif 229__END_DECLS 230 231#endif /* !_WCHAR_H_ */ |