mlibc
mlibc copied to clipboard
sysconf support for querying POSIX features
One line from the spec is a bit annoying:
Runtime checks with fpathconf( ), pathconf( ), or sysconf shall indicate that the option is supported. This applies to
_POSIX_MEMLOCK,_POSIX_MEMLOCK_RANGEand_POSIX_SYNCHRONIZED_IO.
Originally posted by @no92 in https://github.com/managarm/mlibc/issues/1528#issuecomment-3541217063
Addressed in part by #1531.