1 1.4 tnozaki /* $NetBSD: localeio.h,v 1.4 2010/06/19 13:26:52 tnozaki Exp $ */ 2 1.1 ginsbach /* 3 1.1 ginsbach * Copyright (c) 2008, The NetBSD Foundation, Inc. 4 1.1 ginsbach * All rights reserved. 5 1.1 ginsbach * 6 1.1 ginsbach * This code is derived from software contributed to The NetBSD Foundation 7 1.1 ginsbach * by Brian Ginsbach. 8 1.1 ginsbach * 9 1.1 ginsbach * Redistribution and use in source and binary forms, with or without 10 1.1 ginsbach * modification, are permitted provided that the following conditions 11 1.1 ginsbach * are met: 12 1.1 ginsbach * 1. Redistributions of source code must retain the above copyright 13 1.1 ginsbach * notice, this list of conditions and the following disclaimer. 14 1.1 ginsbach * 2. Redistributions in binary form must reproduce the above copyright 15 1.1 ginsbach * notice, this list of conditions and the following disclaimer in the 16 1.1 ginsbach * documentation and/or other materials provided with the distribution. 17 1.1 ginsbach * 18 1.1 ginsbach * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19 1.1 ginsbach * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20 1.1 ginsbach * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21 1.1 ginsbach * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22 1.1 ginsbach * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23 1.1 ginsbach * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24 1.1 ginsbach * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25 1.1 ginsbach * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26 1.1 ginsbach * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27 1.1 ginsbach * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 1.1 ginsbach * POSSIBILITY OF SUCH DAMAGE. 29 1.1 ginsbach */ 30 1.1 ginsbach 31 1.1 ginsbach __BEGIN_DECLS 32 1.4 tnozaki int _localeio_map_file(const char * __restrict, 33 1.4 tnozaki void ** __restrict, size_t * __restrict); 34 1.4 tnozaki void _localeio_unmap_file(void *, size_t); 35 1.2 tnozaki int __loadlocale(const char *, size_t, size_t, size_t, void *); 36 1.1 ginsbach __END_DECLS 37