Changeset 1705 for trunk/src/emx/include/wchar.h
- Timestamp:
- Dec 6, 2004, 3:19:54 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/wchar.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1704 r1705 1 1 /** @file 2 2 * FreeBSD 5.3 3 * @changed bird: Disabled most of it.3 * @changed bird: Disabled all stream related and some other stuff we don't do yet. 4 4 */ 5 5 /*- … … 76 76 #include <sys/_types.h> 77 77 #include <machine/_limits.h> 78 #if 0 /* bird */79 78 #include <_ctype.h> 80 #endif /* bird */81 79 82 80 #ifndef _MBSTATE_T_DECLARED … … 112 110 #endif 113 111 114 #if 0 /* bird */ 115 struct __sFILE; 116 #endif /* bird */ 112 /** @todo struct __sFILE; */ 117 113 struct tm; 118 114 119 115 __BEGIN_DECLS 120 #if 0 /* bird */121 116 wint_t btowc(int); 122 wint_t fgetwc(struct __sFILE *); 123 wchar_t *124 fgetws(wchar_t * __restrict, int, struct __sFILE * __restrict); 125 wint_t fputwc(wchar_t, struct __sFILE *); 126 int fputws(const wchar_t * __restrict, struct __sFILE * __restrict); 127 int fwide(struct __sFILE *, int); 128 int fwprintf(struct __sFILE * __restrict, const wchar_t * __restrict, ...); 129 int fwscanf(struct __sFILE * __restrict, const wchar_t * __restrict, ...); 130 wint_t getwc(struct __sFILE *); 131 wint_t getwchar(void); 117 /** @todo wint_t fgetwc(struct __sFILE *); */ 118 /** @todo wchar_t * 119 fgetws(wchar_t * __restrict, int, struct __sFILE * __restrict); */ 120 /** @todo wint_t fputwc(wchar_t, struct __sFILE *); */ 121 /** @todo int fputws(const wchar_t * __restrict, struct __sFILE * __restrict); */ 122 /** @todo int fwide(struct __sFILE *, int); */ 123 /** @todo int fwprintf(struct __sFILE * __restrict, const wchar_t * __restrict, ...); */ 124 /** @todo int fwscanf(struct __sFILE * __restrict, const wchar_t * __restrict, ...); */ 125 /** @todo wint_t getwc(struct __sFILE *); */ 126 /** @todo wint_t getwchar(void); */ 132 127 size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict); 133 #endif /* bird */134 128 size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 135 129 mbstate_t * __restrict); 136 #if 0 /* bird */137 130 int mbsinit(const mbstate_t *); 138 131 size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, 139 132 mbstate_t * __restrict); 140 wint_t putwc(wchar_t, struct __sFILE *); 141 wint_t putwchar(wchar_t); 142 int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict, 143 ...); 144 int swscanf(const wchar_t * __restrict, const wchar_t * __restrict, ...); 145 wint_t ungetwc(wint_t, struct __sFILE *); 146 int vfwprintf(struct __sFILE * __restrict, const wchar_t * __restrict, 147 __va_list); 148 int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict, 149 __va_list); 150 int vwprintf(const wchar_t * __restrict, __va_list); 151 #endif /* bird */ 133 /** @todo wint_t putwc(wchar_t, struct __sFILE *); */ 134 /** @todo wint_t putwchar(wchar_t); */ 135 /** @todo int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict, 136 ...); */ 137 /** @todo int swscanf(const wchar_t * __restrict, const wchar_t * __restrict, ...); */ 138 /** @todo wint_t ungetwc(wint_t, struct __sFILE *); */ 139 /** @todo int vfwprintf(struct __sFILE * __restrict, const wchar_t * __restrict, 140 __va_list); */ 141 /** @todo int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict, 142 __va_list); */ 143 /** @todo int vwprintf(const wchar_t * __restrict, __va_list); */ 152 144 size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 153 #if 0 /* bird */154 145 wchar_t *wcscat(wchar_t * __restrict, const wchar_t * __restrict); 155 146 wchar_t *wcschr(const wchar_t *, wchar_t) __pure; … … 185 176 wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t); 186 177 wchar_t *wmemset(wchar_t *, wchar_t, size_t); 187 int wprintf(const wchar_t * __restrict, ...); 188 int wscanf(const wchar_t * __restrict, ...); 189 190 #ifndef _STDSTREAM_DECLARED 191 extern struct __sFILE *__stdinp; 192 extern struct __sFILE *__stdoutp; 193 extern struct __sFILE *__stderrp; 194 #define _STDSTREAM_DECLARED 195 #endif 196 197 #define getwc(fp) fgetwc(fp) 198 #define getwchar() fgetwc(__stdinp) 199 #define putwc(wc, fp) fputwc(wc, fp) 200 #define putwchar(wc) fputwc(wc, __stdoutp) 178 /** @todo int wprintf(const wchar_t * __restrict, ...); */ 179 /** @todo int wscanf(const wchar_t * __restrict, ...); */ 180 181 /** @todo #ifndef _STDSTREAM_DECLARED */ 182 /** @todo extern struct __sFILE *__stdinp; */ 183 /** @todo extern struct __sFILE *__stdoutp; */ 184 /** @todo extern struct __sFILE *__stderrp; */ 185 /** @todo #define _STDSTREAM_DECLARED */ 186 /** @todo #endif */ 187 188 /** @todo #define getwc(fp) fgetwc(fp) */ 189 /** @todo #define getwchar() fgetwc(__stdinp) */ 190 /** @todo #define putwc(wc, fp) fputwc(wc, fp) */ 191 /** @todo #define putwchar(wc) fputwc(wc, __stdoutp) */ 201 192 202 193 #if __ISO_C_VISIBLE >= 1999 203 int vfwscanf(struct __sFILE * __restrict, const wchar_t * __restrict,204 __va_list); 205 int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict,206 __va_list); 207 int vwscanf(const wchar_t * __restrict, __va_list); 194 /** @todo int vfwscanf(struct __sFILE * __restrict, const wchar_t * __restrict, 195 __va_list); */ 196 /** @todo int vswscanf(const wchar_t * __restrict, const wchar_t * __restrict, 197 __va_list); */ 198 /** @todo int vwscanf(const wchar_t * __restrict, __va_list); */ 208 199 float wcstof(const wchar_t * __restrict, wchar_t ** __restrict); 209 200 long double … … 226 217 227 218 #if __BSD_VISIBLE 228 wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict); 219 /** @todo wchar_t *fgetwln(struct __sFILE * __restrict, size_t * __restrict); */ 229 220 size_t mbsnrtowcs(wchar_t * __restrict, const char ** __restrict, size_t, 230 221 size_t, mbstate_t * __restrict); … … 234 225 size_t wcslcpy(wchar_t *, const wchar_t *, size_t); 235 226 #endif 236 #endif /* bird */237 227 __END_DECLS 238 228 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.