version 1.10, 2001/09/27 16:30:35 |
version 1.15, 2003/03/05 20:18:15 |
|
|
#include <machine/ansi.h> |
#include <machine/ansi.h> |
#include <sys/null.h> |
#include <sys/null.h> |
|
|
|
#include <stdio.h> /* for FILE* */ |
|
|
#ifdef _BSD_WCHAR_T_ |
#ifdef _BSD_WCHAR_T_ |
typedef _BSD_WCHAR_T_ wchar_t; |
typedef _BSD_WCHAR_T_ wchar_t; |
#undef _BSD_WCHAR_T_ |
#undef _BSD_WCHAR_T_ |
Line 93 typedef _BSD_SIZE_T_ size_t; |
|
Line 95 typedef _BSD_SIZE_T_ size_t; |
|
#define WEOF ((wint_t)-1) |
#define WEOF ((wint_t)-1) |
#endif |
#endif |
|
|
|
#define getwc(f) fgetwc(f) |
|
#define getwchar() getwc(stdin) |
|
#define putwc(wc, f) fputwc((wc), (f)) |
|
#define putwchar(wc) putwc((wc), stdout) |
|
|
__BEGIN_DECLS |
__BEGIN_DECLS |
|
wint_t btowc __P((int)); |
size_t mbrlen __P((const char * __restrict, size_t, mbstate_t * __restrict)); |
size_t mbrlen __P((const char * __restrict, size_t, mbstate_t * __restrict)); |
size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t, |
size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t, |
mbstate_t * __restrict)); |
mbstate_t * __restrict)); |
Line 104 size_t wcrtomb __P((char * __restrict, w |
|
Line 112 size_t wcrtomb __P((char * __restrict, w |
|
wchar_t *wcscat __P((wchar_t * __restrict, const wchar_t * __restrict)); |
wchar_t *wcscat __P((wchar_t * __restrict, const wchar_t * __restrict)); |
wchar_t *wcschr __P((const wchar_t *, wchar_t)); |
wchar_t *wcschr __P((const wchar_t *, wchar_t)); |
int wcscmp __P((const wchar_t *, const wchar_t *)); |
int wcscmp __P((const wchar_t *, const wchar_t *)); |
|
int wcscoll __P((const wchar_t *, const wchar_t *)); |
wchar_t *wcscpy __P((wchar_t * __restrict, const wchar_t * __restrict)); |
wchar_t *wcscpy __P((wchar_t * __restrict, const wchar_t * __restrict)); |
size_t wcscspn __P((const wchar_t *, const wchar_t *)); |
size_t wcscspn __P((const wchar_t *, const wchar_t *)); |
size_t wcslen __P((const wchar_t *)); |
size_t wcslen __P((const wchar_t *)); |
Line 118 size_t wcsrtombs __P((char * __restrict, |
|
Line 127 size_t wcsrtombs __P((char * __restrict, |
|
mbstate_t * __restrict)); |
mbstate_t * __restrict)); |
size_t wcsspn __P((const wchar_t *, const wchar_t *)); |
size_t wcsspn __P((const wchar_t *, const wchar_t *)); |
wchar_t *wcsstr __P((const wchar_t *, const wchar_t *)); |
wchar_t *wcsstr __P((const wchar_t *, const wchar_t *)); |
|
wchar_t *wcstok __P((wchar_t * __restrict, const wchar_t * __restrict, |
|
wchar_t ** __restrict)); |
|
size_t wcsxfrm __P((wchar_t *, const wchar_t *, size_t)); |
|
wchar_t *wcswcs __P((const wchar_t *, const wchar_t *)); |
wchar_t *wmemchr __P((const wchar_t *, wchar_t, size_t)); |
wchar_t *wmemchr __P((const wchar_t *, wchar_t, size_t)); |
int wmemcmp __P((const wchar_t *, const wchar_t *, size_t)); |
int wmemcmp __P((const wchar_t *, const wchar_t *, size_t)); |
wchar_t *wmemcpy __P((wchar_t * __restrict, const wchar_t * __restrict, |
wchar_t *wmemcpy __P((wchar_t * __restrict, const wchar_t * __restrict, |
Line 128 wchar_t *wmemset __P((wchar_t *, wchar_t |
|
Line 141 wchar_t *wmemset __P((wchar_t *, wchar_t |
|
size_t wcslcat __P((wchar_t *, const wchar_t *, size_t)); |
size_t wcslcat __P((wchar_t *, const wchar_t *, size_t)); |
size_t wcslcpy __P((wchar_t *, const wchar_t *, size_t)); |
size_t wcslcpy __P((wchar_t *, const wchar_t *, size_t)); |
int wcswidth __P((const wchar_t *, size_t)); |
int wcswidth __P((const wchar_t *, size_t)); |
|
int wctob __P((wint_t)); |
int wcwidth __P((wchar_t)); |
int wcwidth __P((wchar_t)); |
|
|
unsigned long int wcstoul __P((const wchar_t * __restrict, wchar_t ** __restrict, |
unsigned long int wcstoul __P((const wchar_t * __restrict, wchar_t ** __restrict, |
int base)); |
int base)); |
long int wcstol __P((const wchar_t * __restrict, wchar_t ** __restrict, int base)); |
long int wcstol __P((const wchar_t * __restrict, wchar_t ** __restrict, int base)); |
double wcstod __P((const wchar_t * __restrict, wchar_t ** __restrict)); |
double wcstod __P((const wchar_t * __restrict, wchar_t ** __restrict)); |
|
|
|
wint_t ungetwc __P((wint_t, FILE *)); |
|
wint_t fgetwc __P((FILE *)); |
|
wint_t getwc __P((FILE *)); |
|
wint_t getwchar __P((void)); |
|
wint_t fputwc __P((wchar_t, FILE *)); |
|
wint_t putwc __P((wchar_t, FILE *)); |
|
wint_t putwchar __P((wchar_t)); |
|
|
|
int fwide __P((FILE *, int)); |
__END_DECLS |
__END_DECLS |
|
|
#endif /* !_WCHAR_H_ */ |
#endif /* !_WCHAR_H_ */ |