Deleted Added
full compact
wchar.h (101776) wchar.h (102050)
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 101776 2002-08-13 09:30:41Z tjr $
26 * $FreeBSD: head/include/wchar.h 102050 2002-08-18 06:30:10Z tjr $
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.

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

112wint_t fgetwc(FILE *);
113wchar_t *
114 fgetws(wchar_t *__restrict, int, FILE *__restrict);
115wint_t fputwc(wchar_t, FILE *);
116int fputws(const wchar_t *__restrict, FILE *__restrict);
117int fwide(FILE *, int);
118wint_t getwc(FILE *);
119wint_t getwchar(void);
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.

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

112wint_t fgetwc(FILE *);
113wchar_t *
114 fgetws(wchar_t *__restrict, int, FILE *__restrict);
115wint_t fputwc(wchar_t, FILE *);
116int fputws(const wchar_t *__restrict, FILE *__restrict);
117int fwide(FILE *, int);
118wint_t getwc(FILE *);
119wint_t getwchar(void);
120#if 0
121/* XXX: not implemented */
122size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
123size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
124 mbstate_t * __restrict);
125int mbsinit(const mbstate_t *);
126size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
127 mbstate_t * __restrict);
120size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
121size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
122 mbstate_t * __restrict);
123int mbsinit(const mbstate_t *);
124size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
125 mbstate_t * __restrict);
128#endif
129wint_t putwc(wchar_t, FILE *);
130wint_t putwchar(wchar_t);
131wint_t ungetwc(wint_t, FILE *);
126wint_t putwc(wchar_t, FILE *);
127wint_t putwchar(wchar_t);
128wint_t ungetwc(wint_t, FILE *);
132#if 0
133/* XXX: not implemented */
134size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
129size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
135#endif
136wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
137wchar_t *wcschr(const wchar_t *, wchar_t);
138int wcscmp(const wchar_t *, const wchar_t *);
139wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
140size_t wcscspn(const wchar_t *, const wchar_t *);
141size_t wcslcat(wchar_t *, const wchar_t *, size_t);
142size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
143size_t wcslen(const wchar_t *);
144wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
145 size_t);
146int wcsncmp(const wchar_t *, const wchar_t *, size_t);
147wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
148wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
149wchar_t *wcsrchr(const wchar_t *, wchar_t);
130wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
131wchar_t *wcschr(const wchar_t *, wchar_t);
132int wcscmp(const wchar_t *, const wchar_t *);
133wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
134size_t wcscspn(const wchar_t *, const wchar_t *);
135size_t wcslcat(wchar_t *, const wchar_t *, size_t);
136size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
137size_t wcslen(const wchar_t *);
138wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
139 size_t);
140int wcsncmp(const wchar_t *, const wchar_t *, size_t);
141wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
142wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
143wchar_t *wcsrchr(const wchar_t *, wchar_t);
150#if 0
151/* XXX: not implemented */
152size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
153 mbstate_t * __restrict);
144size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
145 mbstate_t * __restrict);
154#endif
155size_t wcsspn(const wchar_t *, const wchar_t *);
156wchar_t *wcsstr(const wchar_t *, const wchar_t *);
157#if 0
158/* XXX: not implemented */
159int wcswidth(const wchar_t *, size_t);
160int wcwidth(wchar_t);
161#endif
162int wctob(wint_t);

--- 13 unchanged lines hidden ---
146size_t wcsspn(const wchar_t *, const wchar_t *);
147wchar_t *wcsstr(const wchar_t *, const wchar_t *);
148#if 0
149/* XXX: not implemented */
150int wcswidth(const wchar_t *, size_t);
151int wcwidth(wchar_t);
152#endif
153int wctob(wint_t);

--- 13 unchanged lines hidden ---