iconv_open_into.c revision 258283
1227569Sphilip/*-
2227569Sphilip * Copyright (c) 2013 Peter Wemm
3227569Sphilip * All rights reserved.
4227569Sphilip *
5227569Sphilip * Redistribution and use in source and binary forms, with or without
6227569Sphilip * modification, are permitted provided that the following conditions
7227569Sphilip * are met:
8227569Sphilip * 1. Redistributions of source code must retain the above copyright
9227569Sphilip *    notice, this list of conditions and the following disclaimer.
10227569Sphilip * 2. Redistributions in binary form must reproduce the above copyright
11227569Sphilip *    notice, this list of conditions and the following disclaimer in the
12227569Sphilip *    documentation and/or other materials provided with the distribution.
13227569Sphilip *
14227569Sphilip * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15227569Sphilip * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16227569Sphilip * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17227569Sphilip * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18227569Sphilip * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19227569Sphilip * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20227569Sphilip * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21227569Sphilip * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22227569Sphilip * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23227569Sphilip * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24227569Sphilip * SUCH DAMAGE.
25227569Sphilip *
26228100Sphilip * $FreeBSD: head/lib/libc_nonshared/iconv_open_into.c 258283 2013-11-17 22:52:17Z peter $
27228100Sphilip */
28228100Sphilip
29227569Sphilip#include <sys/types.h>
30227569Sphilip#include <iconv.h>
31227569Sphilip#include "iconv-internal.h"
32227569Sphilip
33227569Sphilipint
34227569Sphilipiconv_open_into(const char *a, const char *b, iconv_allocation_t *c)
35227569Sphilip{
36227569Sphilip	return __bsd_iconv_open_into(a, b, c);
37227569Sphilip}
38227569Sphilip