From: jca Date: Sun, 14 Jul 2024 10:04:17 +0000 (+0000) Subject: Add wcsnlen(3) declaration, missed in previous. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4ee4ae6a4df12b4078d101b0a85a8f9518b86753;p=openbsd Add wcsnlen(3) declaration, missed in previous. --- diff --git a/include/wchar.h b/include/wchar.h index 309f812d65b..462ed5e4bbf 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.31 2017/09/05 03:16:13 schwarze Exp $ */ +/* $OpenBSD: wchar.h,v 1.32 2024/07/14 10:04:17 jca Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -166,6 +166,7 @@ int wcscoll_l(const wchar_t *, const wchar_t *, locale_t); wchar_t *wcsdup(const wchar_t *); int wcscasecmp(const wchar_t *, const wchar_t *); int wcscasecmp_l(const wchar_t *, const wchar_t *, locale_t); +size_t wcsnlen(const wchar_t *, size_t); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t); int wcsncasecmp_l(const wchar_t *, const wchar_t *, size_t, locale_t); size_t wcsxfrm_l(wchar_t *, const wchar_t *, size_t, locale_t);