]> pd.if.org Git - pdclib/blobdiff - includes/wchar.h
PDCLIB-15 PDCLIB-16:
[pdclib] / includes / wchar.h
index bac7f40e40524f8cf0f1c65229c651897c9d22c2..34f2ef300620af29f08aa70089e59d1b5ade1322 100644 (file)
@@ -7,7 +7,7 @@
 \r
 #ifndef _PDCLIB_WCHAR_H\r
 #define _PDCLIB_WCHAR_H\r
-#include <_PDCLIB_int.h>\r
+#include <_PDCLIB_io.h>\r
 _PDCLIB_BEGIN_EXTERN_C\r
 /* This is VASTLY incomplete. Functions being implemented as required by other\r
    portions of the library\r
@@ -101,6 +101,17 @@ wint_t putwc(wchar_t c, struct _PDCLIB_file_t *stream);
 wint_t putwchar(wchar_t c);\r
 wint_t ungetwc(wint_t c, struct _PDCLIB_file_t *stream);\r
 \r
+#if _PDCLIB_GNU_SOURCE\r
+wint_t getwc_unlocked(struct _PDCLIB_file_t *stream);\r
+wint_t getwchar_unlocked(void);\r
+wint_t fgetwc_unlocked(struct _PDCLIB_file_t *stream);\r
+wint_t fputwc_unlocked(wchar_t wc, struct _PDCLIB_file_t *stream);\r
+wint_t putwc_unlocked(wchar_t wc, struct _PDCLIB_file_t *stream);\r
+wint_t putwchar_unlocked(wchar_t wc);\r
+wchar_t *fgetws_unlocked(wchar_t *ws, int n, struct _PDCLIB_file_t *stream);\r
+int fputws_unlocked(const wchar_t *ws, struct _PDCLIB_file_t *stream);\r
+#endif\r
+\r
 /* Wide character <-> Numeric conversions */\r
 #if 0\r
 double wcstod(const wchar_t *_PDCLIB_restrict nptr, wchar_t **_PDCLIB_restrict endptr);\r