Back to index

glibc  2.9
Functions
fxstat64.c File Reference
#include <errno.h>
#include <stddef.h>
#include <sys/stat.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

int __fxstat64 (int vers, int fd, struct stat64 *buf)

Function Documentation

int __fxstat64 ( int  vers,
int  fd,
struct stat64 buf 
)

Definition at line 25 of file fxstat64.c.

{
  if (vers != _STAT_VER)
    {
      __set_errno (EINVAL);
      return -1;
    }

  if (fd < 0)
    {
      __set_errno (EBADF);
      return -1;
    }
  else if (buf == NULL)
    {
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}