+extern _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];
+extern size_t _PDCLIB_wcinfo_size;
+
+static inline int _PDCLIB_wcinfo_cmp( const void * _key, const void * _obj )
+{
+ _PDCLIB_uint32_t * key = (_PDCLIB_uint32_t *) _key;
+ _PDCLIB_wcinfo_t * obj = (_PDCLIB_wcinfo_t *) _obj;
+ return *key - obj->num;
+}
+
+static inline _PDCLIB_wcinfo_t * _PDCLIB_wcgetinfo( _PDCLIB_uint32_t num )
+{
+ _PDCLIB_wcinfo_t *info = (_PDCLIB_wcinfo_t*)
+ bsearch( &num, _PDCLIB_wcinfo, _PDCLIB_wcinfo_size,
+ sizeof( _PDCLIB_wcinfo[0] ), _PDCLIB_wcinfo_cmp );
+
+ return info;
+}
+