]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/access.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / io / access.c
index 210e2cdd299ed6982adeb77e31701bd1daaffb09..ccecc6b25c6396acf000ab1beabebe671298a946 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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
 #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)