Update.
[glibc.git] / include / sys / stat.h
blobbe9bdd0c42361bd8abac617169066289019eb080
1 #include <io/sys/stat.h>
3 /* The `stat', `fstat', `lstat' functions have to be handled special since
4 even while not compiling the library with optimization calls to these
5 functions in the shared library must reference the `xstat' etc functions.
6 We have to use macros but we cannot define them in the normal headers
7 since on user level we must use real functions. */
8 #define stat(fname, buf) __xstat (_STAT_VER, fname, buf)
9 #define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf)
10 #define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
11 #define stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf)
12 #define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf)
13 #define lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf)