Back to index

glibc  2.9
Defines | Functions
stat.h File Reference
#include <io/sys/stat.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define stat(fname, buf)   __xstat (_STAT_VER, fname, buf)
#define lstat(fname, buf)   __lxstat (_STAT_VER, fname, buf)
#define __lstat(fname, buf)   __lxstat (_STAT_VER, fname, buf)
#define lstat64(fname, buf)   __lxstat64 (_STAT_VER, fname, buf)
#define stat64(fname, buf)   __xstat64 (_STAT_VER, fname, buf)
#define fstat64(fd, buf)   __fxstat64 (_STAT_VER, fd, buf)
#define fstat(fd, buf)   __fxstat (_STAT_VER, fd, buf)
#define __fstat(fd, buf)   __fxstat (_STAT_VER, fd, buf)

Functions

int __stat (__const char *__file, struct stat *__buf)
int __fstat (int __fd, struct stat *__buf)
int __lstat (__const char *__file, struct stat *__buf)
int __chmod (__const char *__file, __mode_t __mode)
int __fchmod (int __fd, __mode_t __mode)
__mode_t __umask (__mode_t __mask)
int __mkdir (__const char *__path, __mode_t __mode)
int __mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
 hidden_proto (__fxstat) hidden_proto(__fxstat64) hidden_proto(__lxstat) hidden_proto(__lxstat64) hidden_proto(__xstat) hidden_proto(__xstat64) extern __inline__ int __stat(__const char *__path

Define Documentation

#define __fstat (   fd,
  buf 
)    __fxstat (_STAT_VER, fd, buf)
#define __lstat (   fname,
  buf 
)    __lxstat (_STAT_VER, fname, buf)
#define fstat (   fd,
  buf 
)    __fxstat (_STAT_VER, fd, buf)
#define fstat64 (   fd,
  buf 
)    __fxstat64 (_STAT_VER, fd, buf)
#define lstat (   fname,
  buf 
)    __lxstat (_STAT_VER, fname, buf)
#define lstat64 (   fname,
  buf 
)    __lxstat64 (_STAT_VER, fname, buf)
#define stat (   fname,
  buf 
)    __xstat (_STAT_VER, fname, buf)
#define stat64 (   fname,
  buf 
)    __xstat64 (_STAT_VER, fname, buf)

Function Documentation

int __chmod ( __const char *  __file,
__mode_t  __mode 
)

Here is the caller graph for this function:

int __fchmod ( int  __fd,
__mode_t  __mode 
)

Definition at line 26 of file fchmod.c.

{
  if (fd < 0)
    {
      __set_errno (EINVAL);
      return -1;
    }

  __set_errno (ENOSYS);
  return -1;
}

Here is the call graph for this function:

int __fstat ( int  __fd,
struct stat __buf 
)

Definition at line 51 of file fstat.c.

{
  return __fxstat (_STAT_VER, fd, buf);
}

Here is the call graph for this function:

int __lstat ( __const char *  __file,
struct stat __buf 
)
int __mkdir ( __const char *  __path,
__mode_t  __mode 
)
int __mknod ( __const char *  __path,
__mode_t  __mode,
__dev_t  __dev 
)
int __stat ( __const char *  __file,
struct stat __buf 
)
__mode_t __umask ( __mode_t  __mask)

Definition at line 25 of file umask.c.

{
  __set_errno (ENOSYS);
  return -1;
}

Here is the call graph for this function:

Here is the caller graph for this function: