diff options
author | tjr <tjr@FreeBSD.org> | 2002-08-04 12:09:08 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-08-04 12:09:08 +0000 |
commit | c7dfca65ec8e30de1b40fcf31c4e140cc8a705e8 (patch) | |
tree | 63912096bfe0d27c0615433761b7eedc4c90e47b /include/wctype.h | |
parent | fd6d1078a965be3456970e1f7783dd21f7618d82 (diff) | |
download | FreeBSD-src-c7dfca65ec8e30de1b40fcf31c4e140cc8a705e8.zip FreeBSD-src-c7dfca65ec8e30de1b40fcf31c4e140cc8a705e8.tar.gz |
Add the ISO C90 Amd. 1 wctrans(3) and towctrans(3) functions.
Diffstat (limited to 'include/wctype.h')
-rw-r--r-- | include/wctype.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h index ab763ca..2dd5e79 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -41,6 +41,11 @@ typedef _BSD_WINT_T_ wint_t; #undef _BSD_WINT_T_ #endif +#ifndef _WCTRANS_T +typedef int wctrans_t; +#define _WCTRANS_T +#endif + #ifndef _WCTYPE_T typedef long wctype_t; #define _WCTYPE_T @@ -52,6 +57,8 @@ typedef long wctype_t; __BEGIN_DECLS int iswctype(wint_t, wctype_t); +wint_t towctrans(wint_t, wctrans_t); +wctrans_t wctrans(const char *); wctype_t wctype(const char *); #if 0 /* XXX: not implemented */ |