big5.c (129117) | big5.c (129153) |
---|---|
1/*- 2 * Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved. 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Paul Borman at Krystal Technologies. 8 * --- 25 unchanged lines hidden (view full) --- 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 */ 37 38#if defined(LIBC_SCCS) && !defined(lint) 39static char sccsid[] = "@(#)big5.c 8.1 (Berkeley) 6/4/93"; 40#endif /* LIBC_SCCS and not lint */ 41#include <sys/param.h> | 1/*- 2 * Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved. 3 * Copyright (c) 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Paul Borman at Krystal Technologies. 8 * --- 25 unchanged lines hidden (view full) --- 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 */ 37 38#if defined(LIBC_SCCS) && !defined(lint) 39static char sccsid[] = "@(#)big5.c 8.1 (Berkeley) 6/4/93"; 40#endif /* LIBC_SCCS and not lint */ 41#include <sys/param.h> |
42__FBSDID("$FreeBSD: head/lib/libc/locale/big5.c 129117 2004-05-11 14:08:22Z tjr $"); | 42__FBSDID("$FreeBSD: head/lib/libc/locale/big5.c 129153 2004-05-12 14:09:04Z tjr $"); |
43 44#include <errno.h> 45#include <runetype.h> 46#include <stdlib.h> 47#include <string.h> 48#include <wchar.h> | 43 44#include <errno.h> 45#include <runetype.h> 46#include <stdlib.h> 47#include <string.h> 48#include <wchar.h> |
49#include "mblocal.h" |
|
49 | 50 |
50extern size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, 51 size_t, mbstate_t * __restrict); 52extern int (*__mbsinit)(const mbstate_t *); 53extern size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict); 54 | |
55int _BIG5_init(_RuneLocale *); 56size_t _BIG5_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 57 mbstate_t * __restrict); 58int _BIG5_mbsinit(const mbstate_t *); 59size_t _BIG5_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 60 61typedef struct { 62 int count; --- 99 unchanged lines hidden --- | 51int _BIG5_init(_RuneLocale *); 52size_t _BIG5_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 53 mbstate_t * __restrict); 54int _BIG5_mbsinit(const mbstate_t *); 55size_t _BIG5_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 56 57typedef struct { 58 int count; --- 99 unchanged lines hidden --- |