2003-09-04 Ulrich Drepper <drepper@redhat.com>
+ * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.
+
* sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
Report correct value for vxfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.
data.
* sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
- over the place. It would be allowed to have these fucntions as
+ over the place. It would be allowed to have these functions as
cancellation points but the cleanup would be ugly and a lot of
work.
#include <bits/confname.h>
/* Get file-specific configuration information about PATH. */
-extern long int pathconf (__const char *__path, int __name);
+extern long int pathconf (__const char *__path, int __name) __THROW;
/* Get file-specific configuration about descriptor FD. */
-extern long int fpathconf (int __fd, int __name);
+extern long int fpathconf (int __fd, int __name) __THROW;
/* Get the value of the system variable NAME. */
-extern long int sysconf (int __name) __attribute__ ((__const__));
+extern long int sysconf (int __name) __THROW __attribute__ ((__const__));
#ifdef __USE_POSIX2
/* Get the value of the string-valued system variable NAME. */