From a428b44e2624f6182f0ba7bcca801dec974c8ade Mon Sep 17 00:00:00 2001 From: espie <> Date: Fri, 17 Jun 2005 20:40:30 +0000 Subject: [PATCH] next citrus step. reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump --- src/include/wchar.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/include/wchar.h b/src/include/wchar.h index c53679f8..7e4a792e 100644 --- a/src/include/wchar.h +++ b/src/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.3 2005/05/18 13:48:49 espie Exp $ */ +/* $OpenBSD: wchar.h,v 1.4 2005/06/17 20:40:30 espie Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -146,6 +146,25 @@ wchar_t *wmemset(wchar_t *, wchar_t, size_t); size_t wcslcat(wchar_t *, const wchar_t *, size_t); size_t wcslcpy(wchar_t *, const wchar_t *, size_t); int wctob(wint_t); +int wcscoll(const wchar_t *, const wchar_t *); +size_t wcsxfrm(wchar_t *, const wchar_t *, size_t); + +wint_t ungetwc(wint_t, FILE *); +wint_t fgetwc(FILE *); +wchar_t *fgetws(wchar_t * __restrict, int, FILE * __restrict); +wint_t getwc(FILE *); +wint_t getwchar(void); +wint_t fputwc(wchar_t, FILE *); +int fputws(const wchar_t * __restrict, FILE * __restrict); +wint_t putwc(wchar_t, FILE *); +wint_t putwchar(wchar_t); + +int fwide(FILE *, int); + +#define getwc(f) fgetwc(f) +#define getwchar() getwc(stdin) +#define putwc(wc, f) fputwc((wc), (f)) +#define putwchar(wc) putwc((wc), stdout) __END_DECLS #endif /* !_WCHAR_H_ */