Back to index

glibc  2.9
Defines | Functions
lxstat.c File Reference
#include <errno.h>
#include <stddef.h>
#include <sys/stat.h>
#include <sysdep.h>
#include <sys/syscall.h>
#include <bp-checks.h>

Go to the source code of this file.


#define __lxstat64   __lxstat64_disable


int __lxstat (int vers, const char *name, struct stat *buf)

Define Documentation

#define __lxstat64   __lxstat64_disable

Definition at line 23 of file lxstat.c.

Function Documentation

int __lxstat ( int  vers,
const char *  name,
struct stat buf 

Definition at line 35 of file lxstat.c.

  if (vers == _STAT_VER_KERNEL || vers == _STAT_VER_LINUX)
    return INLINE_SYSCALL (lstat, 2, CHECK_STRING (name), CHECK_1 (buf));

  __set_errno (EINVAL);
  return -1;