@node strverscmp
@subsection @code{strverscmp}
@findex strverscmp

Documentation:
@itemize
@item
@ifinfo
@ref{String/Array Comparison,,String/Array Comparison,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/String_002fArray-Comparison.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/strverscmp.3.html,,man strverscmp}.
@end itemize

Gnulib module: strverscmp
@mindex strverscmp

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
macOS 14, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
@item
This function treats ASCII letters as smaller than a digit sequence
on some platforms:
@c https://git.musl-libc.org/cgit/musl/commit/src/string/strverscmp.c?id=b50eb8c36c20f967bd0ed70c0b0db38a450886ba
musl libc 1.2.3, Cygwin 3.4.x.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On older glibc platforms, this function does not always properly treat
digit strings with leading zeros as fractions (for example,
@code{strverscmp ("B0075022800016.gbp.corp.com",
"B007502357019.GBP.CORP.COM")} does not yield a negative number as it
should):
glibc 2.9
@end itemize
