Skip to content

Commit

Permalink
LibC: Stub out wcsnrtombs
Browse files Browse the repository at this point in the history
  • Loading branch information
BertalanD authored and linusg committed Oct 17, 2021
1 parent 57f0c12 commit 54eee52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Userland/Libraries/LibC/wchar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,4 +550,10 @@ int wmemcmp(const wchar_t* s1, const wchar_t* s2, size_t n)
}
return 0;
}

size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*)
{
dbgln("FIXME: Implement wcsnrtombs()");
TODO();
}
}
1 change: 1 addition & 0 deletions Userland/Libraries/LibC/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ int wcwidth(wchar_t);
size_t wcsrtombs(char*, const wchar_t**, size_t, mbstate_t*);
size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*);
int wmemcmp(const wchar_t*, const wchar_t*, size_t);
size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*);

__END_DECLS

0 comments on commit 54eee52

Please sign in to comment.