]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / generic / wordsize-32 / fxstatat64.c
CommitLineData
a0941175 1/* __fxstatat64 () implementation.
688903eb 2 Copyright (C) 2016-2018 Free Software Foundation, Inc.
a0941175
SE
3 This file is part of the GNU C Library.
4 Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
5
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library. If not, see
18 <http://www.gnu.org/licenses/>. */
19
20/* Hide the prototype for __fxstatat so that GCC will not complain about
21 the different function signature if it is aliased to __fxstatat64.
22 If XSTAT_IS_XSTAT64 is set to non-zero then the stat and stat64 structures
23 have an identical layout but different type names. */
24
25#define __fxstatat __fxstatat_disable
26
27#include <sys/stat.h>
28#undef _STAT_VER_LINUX
29#define _STAT_VER_LINUX _STAT_VER_KERNEL
30
31#include <sysdeps/unix/sysv/linux/fxstatat64.c>
32
33#undef __fxstatat
34#if XSTAT_IS_XSTAT64
35weak_alias (__fxstatat64, __fxstatat)
36libc_hidden_ver (__fxstatat64, __fxstatat)
37#endif