xref: /Universal-ctags/gnulib/mbtowc.c (revision 820c1a8d46849a90376d8eb15b319ac05439f656)
1*820c1a8dSHiroo HAYASHI /* Convert multibyte character to wide character.
2*820c1a8dSHiroo HAYASHI    Copyright (C) 2011-2021 Free Software Foundation, Inc.
3*820c1a8dSHiroo HAYASHI    Written by Bruno Haible <bruno@clisp.org>, 2011.
4*820c1a8dSHiroo HAYASHI 
5*820c1a8dSHiroo HAYASHI    This file is free software: you can redistribute it and/or modify
6*820c1a8dSHiroo HAYASHI    it under the terms of the GNU Lesser General Public License as
7*820c1a8dSHiroo HAYASHI    published by the Free Software Foundation; either version 2.1 of the
8*820c1a8dSHiroo HAYASHI    License, or (at your option) any later version.
9*820c1a8dSHiroo HAYASHI 
10*820c1a8dSHiroo HAYASHI    This file is distributed in the hope that it will be useful,
11*820c1a8dSHiroo HAYASHI    but WITHOUT ANY WARRANTY; without even the implied warranty of
12*820c1a8dSHiroo HAYASHI    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*820c1a8dSHiroo HAYASHI    GNU Lesser General Public License for more details.
14*820c1a8dSHiroo HAYASHI 
15*820c1a8dSHiroo HAYASHI    You should have received a copy of the GNU Lesser General Public License
16*820c1a8dSHiroo HAYASHI    along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
17*820c1a8dSHiroo HAYASHI 
18*820c1a8dSHiroo HAYASHI #include <config.h>
19*820c1a8dSHiroo HAYASHI 
20*820c1a8dSHiroo HAYASHI #include <stdlib.h>
21*820c1a8dSHiroo HAYASHI 
22*820c1a8dSHiroo HAYASHI #include <errno.h>
23*820c1a8dSHiroo HAYASHI #include <string.h>
24*820c1a8dSHiroo HAYASHI #include <wchar.h>
25*820c1a8dSHiroo HAYASHI 
26*820c1a8dSHiroo HAYASHI #include "mbtowc-impl.h"
27