HelenOS sources
strndup 96 uspace/lib/bithenge/src/linux/common.h return strndup(s, max_len);
strndup 72 uspace/lib/c/include/string.h extern char *strndup(const char *, size_t);
strndup 784 uspace/lib/c/test/string.c char *d = strndup("", 1);
strndup 793 uspace/lib/c/test/string.c char *d = strndup("", 0);
strndup 807 uspace/lib/c/test/string.c char *d = strndup("abc", 5);
strndup 820 uspace/lib/c/test/string.c char *d = strndup("abc", 3);
strndup 832 uspace/lib/c/test/string.c char *d = strndup("abc", 2);
strndup 72 uspace/lib/posix/include/libc/string.h extern char *strndup(const char *, size_t);
HelenOS homepage, sources at GitHub