Back to index

glibc  2.9
Classes | Defines
stat.h File Reference

Go to the source code of this file.

Classes

struct  stat

Defines

#define _STAT_VER_KERNEL   0
#define _STAT_VER_GLIBC2   1
#define _STAT_VER_GLIBC2_1   2
#define _STAT_VER_KERNEL64   3
#define _STAT_VER_GLIBC2_3_4   3
#define _STAT_VER   _STAT_VER_GLIBC2_3_4
#define _MKNOD_VER_LINUX   0
#define __ST_TIME(X)
#define _STATBUF_ST_BLKSIZE
#define _STATBUF_ST_RDEV
#define _STATBUF_ST_NSEC
#define __S_IFMT   0170000 /* These bits determine file type. */
#define __S_IFDIR   0040000 /* Directory. */
#define __S_IFCHR   0020000 /* Character device. */
#define __S_IFBLK   0060000 /* Block device. */
#define __S_IFREG   0100000 /* Regular file. */
#define __S_IFIFO   0010000 /* FIFO. */
#define __S_IFLNK   0120000 /* Symbolic link. */
#define __S_IFSOCK   0140000 /* Socket. */
#define __S_TYPEISMQ(buf)   ((buf)->st_mode - (buf)->st_mode)
#define __S_TYPEISSEM(buf)   ((buf)->st_mode - (buf)->st_mode)
#define __S_TYPEISSHM(buf)   ((buf)->st_mode - (buf)->st_mode)
#define __S_ISUID   04000 /* Set user ID on execution. */
#define __S_ISGID   02000 /* Set group ID on execution. */
#define __S_ISVTX   01000 /* Save swapped text after use (sticky). */
#define __S_IREAD   0400 /* Read by owner. */
#define __S_IWRITE   0200 /* Write by owner. */
#define __S_IEXEC   0100 /* Execute by owner. */

Define Documentation

#define __S_IEXEC   0100 /* Execute by owner. */

Definition at line 151 of file stat.h.

#define __S_IFBLK   0060000 /* Block device. */

Definition at line 132 of file stat.h.

#define __S_IFCHR   0020000 /* Character device. */

Definition at line 131 of file stat.h.

#define __S_IFDIR   0040000 /* Directory. */

Definition at line 130 of file stat.h.

#define __S_IFIFO   0010000 /* FIFO. */

Definition at line 134 of file stat.h.

#define __S_IFLNK   0120000 /* Symbolic link. */

Definition at line 135 of file stat.h.

#define __S_IFMT   0170000 /* These bits determine file type. */

Definition at line 127 of file stat.h.

#define __S_IFREG   0100000 /* Regular file. */

Definition at line 133 of file stat.h.

#define __S_IFSOCK   0140000 /* Socket. */

Definition at line 136 of file stat.h.

#define __S_IREAD   0400 /* Read by owner. */

Definition at line 149 of file stat.h.

#define __S_ISGID   02000 /* Set group ID on execution. */

Definition at line 147 of file stat.h.

#define __S_ISUID   04000 /* Set user ID on execution. */

Definition at line 146 of file stat.h.

#define __S_ISVTX   01000 /* Save swapped text after use (sticky). */

Definition at line 148 of file stat.h.

#define __S_IWRITE   0200 /* Write by owner. */

Definition at line 150 of file stat.h.

#define __S_TYPEISMQ (   buf)    ((buf)->st_mode - (buf)->st_mode)

Definition at line 140 of file stat.h.

#define __S_TYPEISSEM (   buf)    ((buf)->st_mode - (buf)->st_mode)

Definition at line 141 of file stat.h.

#define __S_TYPEISSHM (   buf)    ((buf)->st_mode - (buf)->st_mode)

Definition at line 142 of file stat.h.

#define __ST_TIME (   X)
Value:
__time_t st_##X##time;                    \
       unsigned long st_##X##timensec

Definition at line 61 of file stat.h.

#define _MKNOD_VER_LINUX   0

Definition at line 33 of file stat.h.

Definition at line 30 of file stat.h.

#define _STAT_VER_GLIBC2   1

Definition at line 26 of file stat.h.

#define _STAT_VER_GLIBC2_1   2

Definition at line 27 of file stat.h.

#define _STAT_VER_GLIBC2_3_4   3

Definition at line 29 of file stat.h.

#define _STAT_VER_KERNEL   0

Definition at line 25 of file stat.h.

#define _STAT_VER_KERNEL64   3

Definition at line 28 of file stat.h.

Definition at line 121 of file stat.h.

Definition at line 123 of file stat.h.

Definition at line 122 of file stat.h.