1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00

strnlen(): Add comment with POSIX standard.

This commit is contained in:
Sven Michael Klose 2021-12-25 09:12:13 +01:00 committed by mrdudz
parent 3ee9b35080
commit 2c27c075a9

View File

@ -50,7 +50,7 @@ char* __fastcall__ strcpy (char* dest, const char* src);
size_t __fastcall__ strcspn (const char* s1, const char* s2);
char* __fastcall__ strerror (int errcode);
size_t __fastcall__ strlen (const char* s);
size_t __fastcall__ strnlen (const char* s, size_t maxlen);
size_t __fastcall__ strnlen (const char* s, size_t maxlen); /* POSIX.1-2008 */
char* __fastcall__ strncat (char* s1, const char* s2, size_t count);
int __fastcall__ strncmp (const char* s1, const char* s2, size_t count);
char* __fastcall__ strncpy (char* dest, const char* src, size_t count);