table.c (128004) | table.c (129153) |
---|---|
1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Paul Borman at Krystal Technologies. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 24 unchanged lines hidden (view full) --- 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_SCCS) && !defined(lint) 38static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93"; 39#endif /* LIBC_SCCS and not lint */ 40#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Paul Borman at Krystal Technologies. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 24 unchanged lines hidden (view full) --- 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_SCCS) && !defined(lint) 38static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/27/93"; 39#endif /* LIBC_SCCS and not lint */ 40#include <sys/cdefs.h> |
41__FBSDID("$FreeBSD: head/lib/libc/locale/table.c 128004 2004-04-07 10:48:19Z tjr $"); | 41__FBSDID("$FreeBSD: head/lib/libc/locale/table.c 129153 2004-05-12 14:09:04Z tjr $"); |
42 43#include <ctype.h> 44#include <rune.h> 45#include <wchar.h> | 42 43#include <ctype.h> 44#include <rune.h> 45#include <wchar.h> |
46#include "mblocal.h" |
|
46 | 47 |
47extern size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, 48 mbstate_t * __restrict); 49extern int _none_mbsinit(const mbstate_t *); 50extern size_t _none_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); 51extern rune_t __emulated_sgetrune(const char *, size_t, const char **); 52extern int __emulated_sputrune(rune_t, char *, size_t, char **); 53 | |
54_RuneLocale _DefaultRuneLocale = { 55 _RUNE_MAGIC_1, 56 "NONE", 57 __emulated_sgetrune, 58 __emulated_sputrune, 59 0xFFFD, 60 61 { /*00*/ _CTYPE_C, --- 204 unchanged lines hidden --- | 48_RuneLocale _DefaultRuneLocale = { 49 _RUNE_MAGIC_1, 50 "NONE", 51 __emulated_sgetrune, 52 __emulated_sputrune, 53 0xFFFD, 54 55 { /*00*/ _CTYPE_C, --- 204 unchanged lines hidden --- |