summaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-04 16:19:05 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-04 16:19:05 +0000
commit966f66bbbf546a0fd2b49c6036585ef55d452fc5 (patch)
tree12ab08405fb4087d30b632151a4b6c751405309f /posix/unistd.h
parent17f83e56d0d54b3e36912d5ba1795624497d2559 (diff)
Update.
* posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. over the place. It would be allowed to have these functions as
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 15a75fa8a0..13569ae727 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -525,13 +525,13 @@ extern void _exit (int __status) __attribute__ ((__noreturn__));
#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. */