apk-tools/portability
Ariadne Conill 44994a46d4 portability: check for qsort_r which does not match POSIX-next definition
FreeBSD (and also Darwin) introduced its own qsort_r, which has different
semantics than the one slated for inclusion in POSIX.  Add a portability
thunk to deal with translating between implementations.

[TT: minor stylistic fixes]
2022-04-11 09:35:47 +03:00
..
sys portability: add sys/sysmacros.h wrapper for makedev/major/minor 2021-12-29 20:14:41 +02:00
endian.h portability: add endian.h wrapper 2021-12-29 20:14:38 +02:00
memrchr.c portability: implement skeleton with memrchr function 2021-12-29 20:11:17 +02:00
meson.build portability: check for qsort_r which does not match POSIX-next definition 2022-04-11 09:35:47 +03:00
mknodat.c portability: implement pipe2 and mknodat 2021-12-29 20:14:41 +02:00
pipe2.c portability: implement pipe2 and mknodat 2021-12-29 20:14:41 +02:00
qsort_r.c portability: add qsort_r 2022-03-21 14:09:06 +02:00
stdlib.h portability: check for qsort_r which does not match POSIX-next definition 2022-04-11 09:35:47 +03:00
string.h portability: take over strlcpy 2021-12-29 20:14:41 +02:00
strlcpy.c portability: take over strlcpy 2021-12-29 20:14:41 +02:00
unistd.h portability: include environ in overlaid unistd.h 2021-12-29 20:14:41 +02:00