summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-06-17 20:40:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-06-17 20:40:33 +0000
commitbe7004e483155fec9dc1404ce22b9bf05c193127 (patch)
tree324b7c12f3d62c06a7c4873e563b9c5491af99e4 /include/wchar.h
parentbca5a28b4734025b47828589f2a0704cc7e1d9e9 (diff)
next citrus step.
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index c53679f85ba..7e4a792e59f 100644
--- a/include/wchar.h
+++ b/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_ */