aboutsummaryrefslogtreecommitdiff
path: root/io/access.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/access.c')
-rw-r--r--io/access.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io/access.c b/io/access.c
index 45347048af..859cf75e30 100644
--- a/io/access.c
+++ b/io/access.c
@@ -19,6 +19,13 @@
#include <stddef.h>
#include <unistd.h>
+/* Test for access to FILE without setting errno. */
+int
+__access_noerrno (const char *file, int type)
+{
+ return -1;
+}
+
/* Test for access to FILE. */
int
__access (const char *file, int type)