File: statfix.c

package info (click to toggle)
bincompat 1.1.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 152 kB
  • ctags: 97
  • sloc: ansic: 1,291; makefile: 78; asm: 74; sh: 2
file content (28 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <sys/stat.h>

/* Get information about the file descriptor FD in BUF.  */
int
__fxA1at (int vers, int fd, struct stat *buf)
{
  if (vers == 0)
    vers = _STAT_VER_LINUX_OLD;
  return __fxstat(vers, fd, buf);
}

/* Get information about the file NAME in BUF.  */
int
__lxA1at (int vers, const char *name, struct stat *buf)
{
  if (vers == 0)
    vers = _STAT_VER_LINUX_OLD;
  return __lxstat(vers, name, buf);
}

/* Get information about the file NAME in BUF.  */
int
__xA1at (int vers, const char *name, struct stat *buf)
{
  if (vers == 0)
    vers = _STAT_VER_LINUX_OLD;
  return __xstat(vers, name, buf);
}