HelenOS sources
strnlen 102 uspace/lib/c/generic/dirent.c assert(strnlen(dirp->res.d_name, sizeof(dirp->res.d_name)) < sizeof(dirp->res.d_name));
strnlen 560 uspace/lib/c/generic/string.c sz = strnlen(s, n);
strnlen 70 uspace/lib/c/include/string.h extern size_t strnlen(const char *, size_t);
strnlen 727 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(0, strnlen("", 1));
strnlen 733 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(0, strnlen("", 0));
strnlen 739 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(3, strnlen("abc", 5));
strnlen 745 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(3, strnlen("abc", 4));
strnlen 751 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(3, strnlen("abc", 3));
strnlen 757 uspace/lib/c/test/string.c PCUT_ASSERT_INT_EQUALS(2, strnlen("abc", 2));
strnlen 70 uspace/lib/posix/include/libc/string.h extern size_t strnlen(const char *, size_t);
HelenOS homepage, sources at GitHub