[libc] Add wcsnlen()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-08-28 15:12:41 +01:00
parent 61b4585e2a
commit 5bec2604a3
3 changed files with 35 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ size_t wcrtomb ( char *buf, wchar_t wc, mbstate_t *ps __unused ) {
return 1;
}
extern size_t wcsnlen ( const wchar_t *string, size_t max );
extern size_t wcslen ( const wchar_t *string );
#endif /* WCHAR_H */