I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf();
IMHO like sysconf - which is clearly a userland (libc) thing - fpathconf
should be also a userland thing.
long int fpathconf(int fildes, int name);
long int pathconf(const char *path, int name);
I still think that ioctl is the easiest and best way and to add
another syscall is a bad idea.
--ciao - Stefan
" ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so ) " Stefan Traby Linux/ia32 fax: +43-3133-6107-9 Mitterlasznitzstr. 13 Linux/alpha phone: +43-3133-6107-2 8302 Nestelbach Linux/sparc http://www.hello-penguin.com Austria mailto://st.traby@opengroup.org Europe mailto://stefan@hello-penguin.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/