diff options
Diffstat (limited to 'io/access.c')
-rw-r--r-- | io/access.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/io/access.c b/io/access.c index 45347048af..7130264ed7 100644 --- a/io/access.c +++ b/io/access.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2016 Free Software Foundation, Inc. +/* Copyright (C) 1991-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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) |