Deleted Added
sdiff udiff text old ( 129117 ) new ( 129153 )
full compact
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 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>
50#include "mblocal.h"
51
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 ---