This function exists only on Linux, FreeBSD, NetBSD, and illumos and is therefore
missing on many non-glibc platforms:
glibc 2.7, macOS 14, FreeBSD 13.2, NetBSD 9.3, OpenBSD 6.7, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 4.3.