1 2 3 4 5 6
#include <unistd.h> long pathconf(const char *path, int name) { return fpathconf(-1, name); }