euc.c (129117) | euc.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[] = "@(#)euc.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[] = "@(#)euc.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/euc.c 129117 2004-05-11 14:08:22Z tjr $"); | 42__FBSDID("$FreeBSD: head/lib/libc/locale/euc.c 129153 2004-05-12 14:09:04Z tjr $"); |
43 44#include <errno.h> 45#include <limits.h> 46#include <runetype.h> 47#include <stdlib.h> 48#include <string.h> 49#include <wchar.h> | 43 44#include <errno.h> 45#include <limits.h> 46#include <runetype.h> 47#include <stdlib.h> 48#include <string.h> 49#include <wchar.h> |
50#include "mblocal.h" |
|
50 | 51 |
51extern size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, 52 size_t, mbstate_t * __restrict); 53extern int (*__mbsinit)(const mbstate_t *); 54extern size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict); 55 | |
56int _EUC_init(_RuneLocale *); 57size_t _EUC_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 58 mbstate_t * __restrict); 59int _EUC_mbsinit(const mbstate_t *); 60size_t _EUC_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 61 62typedef struct { 63 int count[4]; --- 190 unchanged lines hidden --- | 52int _EUC_init(_RuneLocale *); 53size_t _EUC_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 54 mbstate_t * __restrict); 55int _EUC_mbsinit(const mbstate_t *); 56size_t _EUC_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 57 58typedef struct { 59 int count[4]; --- 190 unchanged lines hidden --- |