version 1.6, 2000/12/21 11:29:48 |
version 1.9.2.4, 2002/03/22 21:10:10 |
|
|
#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 |
size_t mbrlen __P((const char *, size_t, mbstate_t *)); |
size_t mbrlen __P((const char * __restrict, size_t, mbstate_t * __restrict)); |
size_t mbrtowc __P((wchar_t *, const char *, size_t, mbstate_t *)); |
size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t, |
|
mbstate_t * __restrict)); |
int mbsinit __P((const mbstate_t *)); |
int mbsinit __P((const mbstate_t *)); |
size_t mbsrtowcs __P((wchar_t *, const char **, size_t, mbstate_t *)); |
size_t mbsrtowcs __P((wchar_t * __restrict, const char ** __restrict, size_t, |
size_t wcrtomb __P((char *, wchar_t, mbstate_t *)); |
mbstate_t * __restrict)); |
wchar_t *wcscat __P((wchar_t *, const wchar_t *)); |
size_t wcrtomb __P((char * __restrict, wchar_t, mbstate_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 *)); |
wchar_t *wcscpy __P((wchar_t *, const wchar_t *)); |
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 *)); |
wchar_t *wcsncat __P((wchar_t *, const wchar_t *, size_t)); |
wchar_t *wcsncat __P((wchar_t * __restrict, const wchar_t * __restrict, |
|
size_t)); |
int wcsncmp __P((const wchar_t *, const wchar_t *, size_t)); |
int wcsncmp __P((const wchar_t *, const wchar_t *, size_t)); |
wchar_t *wcsncpy __P((wchar_t *, const wchar_t *, size_t)); |
wchar_t *wcsncpy __P((wchar_t * __restrict , const wchar_t * __restrict, |
|
size_t)); |
wchar_t *wcspbrk __P((const wchar_t *, const wchar_t *)); |
wchar_t *wcspbrk __P((const wchar_t *, const wchar_t *)); |
wchar_t *wcsrchr __P((const wchar_t *, wchar_t)); |
wchar_t *wcsrchr __P((const wchar_t *, wchar_t)); |
size_t wcsrtombs __P((char *, const wchar_t **, size_t, mbstate_t *)); |
size_t wcsrtombs __P((char * __restrict, const wchar_t ** __restrict, size_t, |
|
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 *)); |
int wcswidth __P((const wchar_t *, size_t)); |
|
int wcwidth __P((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 *, const wchar_t *, size_t)); |
wchar_t *wmemcpy __P((wchar_t * __restrict, const wchar_t * __restrict, |
|
size_t)); |
wchar_t *wmemmove __P((wchar_t *, const wchar_t *, size_t)); |
wchar_t *wmemmove __P((wchar_t *, const wchar_t *, size_t)); |
wchar_t *wmemset __P((wchar_t *, wchar_t, size_t)); |
wchar_t *wmemset __P((wchar_t *, 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)); |
|
int wcswidth __P((const wchar_t *, size_t)); |
|
int wcwidth __P((wchar_t)); |
|
|
|
unsigned long int wcstoul __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)); |
|
|
|
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_ */ |