xref: /openbsd-src/lib/libc/hidden/wchar.h (revision e9f3be3ad4d37d9b652261d73703b820c601d160)
1*e9f3be3aSjca /*	$OpenBSD: wchar.h,v 1.5 2024/07/14 09:51:18 jca Exp $	*/
29b9d2a55Sguenther /*
39b9d2a55Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
49b9d2a55Sguenther  *
59b9d2a55Sguenther  * Permission to use, copy, modify, and distribute this software for any
69b9d2a55Sguenther  * purpose with or without fee is hereby granted, provided that the above
79b9d2a55Sguenther  * copyright notice and this permission notice appear in all copies.
89b9d2a55Sguenther  *
99b9d2a55Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
109b9d2a55Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
119b9d2a55Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
129b9d2a55Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
139b9d2a55Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
149b9d2a55Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
159b9d2a55Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
169b9d2a55Sguenther  */
179b9d2a55Sguenther 
189b9d2a55Sguenther #ifndef _LIBC_WCHAR_H_
199b9d2a55Sguenther #define _LIBC_WCHAR_H_
209b9d2a55Sguenther 
219b9d2a55Sguenther #include_next <wchar.h>
229b9d2a55Sguenther 
2338a75b98Sguenther PROTO_NORMAL(btowc);
249b9d2a55Sguenther PROTO_NORMAL(fgetwc);
259b9d2a55Sguenther PROTO_NORMAL(fgetws);
269b9d2a55Sguenther PROTO_NORMAL(fputwc);
279b9d2a55Sguenther PROTO_NORMAL(fputws);
289b9d2a55Sguenther PROTO_NORMAL(fwide);
299b9d2a55Sguenther PROTO_NORMAL(fwprintf);
309b9d2a55Sguenther PROTO_NORMAL(fwscanf);
319b9d2a55Sguenther PROTO_NORMAL(getwc);
329b9d2a55Sguenther PROTO_NORMAL(getwchar);
3338a75b98Sguenther PROTO_NORMAL(mbrlen);
3438a75b98Sguenther PROTO_NORMAL(mbrtowc);
3538a75b98Sguenther PROTO_NORMAL(mbsinit);
3638a75b98Sguenther PROTO_NORMAL(mbsnrtowcs);
3738a75b98Sguenther PROTO_NORMAL(mbsrtowcs);
3838a75b98Sguenther PROTO_DEPRECATED(open_wmemstream);
399b9d2a55Sguenther PROTO_NORMAL(putwc);
409b9d2a55Sguenther PROTO_NORMAL(putwchar);
419b9d2a55Sguenther PROTO_NORMAL(swprintf);
429b9d2a55Sguenther PROTO_NORMAL(swscanf);
439b9d2a55Sguenther PROTO_NORMAL(ungetwc);
449b9d2a55Sguenther PROTO_NORMAL(vfwprintf);
459b9d2a55Sguenther PROTO_NORMAL(vfwscanf);
469b9d2a55Sguenther PROTO_NORMAL(vswprintf);
479b9d2a55Sguenther PROTO_NORMAL(vswscanf);
489b9d2a55Sguenther PROTO_NORMAL(vwprintf);
499b9d2a55Sguenther PROTO_NORMAL(vwscanf);
5038a75b98Sguenther PROTO_NORMAL(wcrtomb);
5138a75b98Sguenther PROTO_NORMAL(wcscasecmp);
5238a75b98Sguenther PROTO_NORMAL(wcscat);
5338a75b98Sguenther PROTO_NORMAL(wcschr);
5438a75b98Sguenther PROTO_NORMAL(wcscmp);
5538a75b98Sguenther PROTO_STD_DEPRECATED(wcscoll);
563a628b46Sschwarze PROTO_DEPRECATED(wcscoll_l);
5738a75b98Sguenther PROTO_STD_DEPRECATED(wcscpy);
5838a75b98Sguenther PROTO_NORMAL(wcscspn);
5938a75b98Sguenther PROTO_NORMAL(wcsdup);
6038a75b98Sguenther PROTO_STD_DEPRECATED(wcsftime);
6138a75b98Sguenther PROTO_NORMAL(wcslcat);
6238a75b98Sguenther PROTO_NORMAL(wcslcpy);
6338a75b98Sguenther PROTO_NORMAL(wcslen);
6438a75b98Sguenther PROTO_NORMAL(wcsncasecmp);
6538a75b98Sguenther PROTO_NORMAL(wcsncat);
6638a75b98Sguenther PROTO_NORMAL(wcsncmp);
6738a75b98Sguenther PROTO_NORMAL(wcsncpy);
68*e9f3be3aSjca PROTO_DEPRECATED(wcsnlen);
6938a75b98Sguenther PROTO_NORMAL(wcsnrtombs);
7038a75b98Sguenther PROTO_NORMAL(wcspbrk);
7138a75b98Sguenther PROTO_NORMAL(wcsrchr);
7238a75b98Sguenther PROTO_NORMAL(wcsrtombs);
7338a75b98Sguenther PROTO_NORMAL(wcsspn);
7438a75b98Sguenther PROTO_NORMAL(wcsstr);
7538a75b98Sguenther PROTO_NORMAL(wcstod);
7638a75b98Sguenther PROTO_NORMAL(wcstof);
7738a75b98Sguenther PROTO_STD_DEPRECATED(wcstok);
7838a75b98Sguenther PROTO_NORMAL(wcstol);
7938a75b98Sguenther PROTO_NORMAL(wcstold);
8038a75b98Sguenther PROTO_NORMAL(wcstoll);
8138a75b98Sguenther PROTO_NORMAL(wcstoul);
8238a75b98Sguenther PROTO_NORMAL(wcstoull);
8338a75b98Sguenther PROTO_DEPRECATED(wcswcs);
8438a75b98Sguenther PROTO_NORMAL(wcswidth);
853a628b46Sschwarze PROTO_NORMAL(wcsxfrm);
863a628b46Sschwarze PROTO_DEPRECATED(wcsxfrm_l);
8738a75b98Sguenther PROTO_NORMAL(wctob);
8838a75b98Sguenther PROTO_NORMAL(wcwidth);
8938a75b98Sguenther PROTO_NORMAL(wmemchr);
9038a75b98Sguenther PROTO_NORMAL(wmemcmp);
9138a75b98Sguenther PROTO_NORMAL(wmemcpy);
9238a75b98Sguenther PROTO_NORMAL(wmemmove);
9338a75b98Sguenther PROTO_NORMAL(wmemset);
949b9d2a55Sguenther PROTO_NORMAL(wprintf);
959b9d2a55Sguenther PROTO_NORMAL(wscanf);
969b9d2a55Sguenther 
979b9d2a55Sguenther #endif /* !_LIBC_WCHAR_H_ */
98