Deleted Added
full compact
wchar.h (103177) wchar.h (103218)
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 103177 2002-09-10 09:43:28Z tjr $
26 * $FreeBSD: head/include/wchar.h 103218 2002-09-11 08:57:11Z 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.

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

96#define _WINT_T_DECLARED
97#endif
98
99#ifndef WEOF
100#define WEOF ((wint_t)-1)
101#endif
102
103struct __sFILE;
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.

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

96#define _WINT_T_DECLARED
97#endif
98
99#ifndef WEOF
100#define WEOF ((wint_t)-1)
101#endif
102
103struct __sFILE;
104struct tm;
104
105__BEGIN_DECLS
106wint_t btowc(int);
107wint_t fgetwc(struct __sFILE *);
108wchar_t *
109 fgetws(wchar_t * __restrict, int, struct __sFILE * __restrict);
110wint_t fputwc(wchar_t, struct __sFILE *);
111int fputws(const wchar_t * __restrict, struct __sFILE * __restrict);

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

122wint_t putwchar(wchar_t);
123wint_t ungetwc(wint_t, struct __sFILE *);
124size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
125wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
126wchar_t *wcschr(const wchar_t *, wchar_t);
127int wcscmp(const wchar_t *, const wchar_t *);
128wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
129size_t wcscspn(const wchar_t *, const wchar_t *);
105
106__BEGIN_DECLS
107wint_t btowc(int);
108wint_t fgetwc(struct __sFILE *);
109wchar_t *
110 fgetws(wchar_t * __restrict, int, struct __sFILE * __restrict);
111wint_t fputwc(wchar_t, struct __sFILE *);
112int fputws(const wchar_t * __restrict, struct __sFILE * __restrict);

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

123wint_t putwchar(wchar_t);
124wint_t ungetwc(wint_t, struct __sFILE *);
125size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
126wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict);
127wchar_t *wcschr(const wchar_t *, wchar_t);
128int wcscmp(const wchar_t *, const wchar_t *);
129wchar_t *wcscpy(wchar_t * __restrict, const wchar_t * __restrict);
130size_t wcscspn(const wchar_t *, const wchar_t *);
131size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
132 const struct tm * __restrict);
130size_t wcslcat(wchar_t *, const wchar_t *, size_t);
131size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
132size_t wcslen(const wchar_t *);
133wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
134 size_t);
135int wcsncmp(const wchar_t *, const wchar_t *, size_t);
136wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
137wchar_t *wcspbrk(const wchar_t *, const wchar_t *);

--- 29 unchanged lines hidden ---
133size_t wcslcat(wchar_t *, const wchar_t *, size_t);
134size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
135size_t wcslen(const wchar_t *);
136wchar_t *wcsncat(wchar_t * __restrict, const wchar_t * __restrict,
137 size_t);
138int wcsncmp(const wchar_t *, const wchar_t *, size_t);
139wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
140wchar_t *wcspbrk(const wchar_t *, const wchar_t *);

--- 29 unchanged lines hidden ---