2 @section @code{strndup}
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/strndup.html}
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 Mac OS X 10.5, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 10, mingw, MSVC 14.
15 This function does not NUL-terminate the result on some platforms:
19 Portability problems not fixed by Gnulib: