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_LINUX_OLD   1
#define _STAT_VER_KERNEL   1
#define _STAT_VER_SVR4   2
#define _STAT_VER_LINUX   3
#define _STAT_VER   _STAT_VER_LINUX /* The one defined below. */
#define _MKNOD_VER_LINUX   1
#define _MKNOD_VER_SVR4   2
#define _MKNOD_VER   _MKNOD_VER_LINUX /* The bits defined below. */
#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 164 of file stat.h.

#define __S_IFBLK   0060000 /* Block device. */

Definition at line 145 of file stat.h.

#define __S_IFCHR   0020000 /* Character device. */

Definition at line 144 of file stat.h.

#define __S_IFDIR   0040000 /* Directory. */

Definition at line 143 of file stat.h.

#define __S_IFIFO   0010000 /* FIFO. */

Definition at line 147 of file stat.h.

#define __S_IFLNK   0120000 /* Symbolic link. */

Definition at line 148 of file stat.h.

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

Definition at line 140 of file stat.h.

#define __S_IFREG   0100000 /* Regular file. */

Definition at line 146 of file stat.h.

#define __S_IFSOCK   0140000 /* Socket. */

Definition at line 149 of file stat.h.

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

Definition at line 162 of file stat.h.

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

Definition at line 160 of file stat.h.

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

Definition at line 159 of file stat.h.

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

Definition at line 161 of file stat.h.

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

Definition at line 163 of file stat.h.

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

Definition at line 153 of file stat.h.

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

Definition at line 154 of file stat.h.

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

Definition at line 155 of file stat.h.

#define _MKNOD_VER   _MKNOD_VER_LINUX /* The bits defined below. */

Definition at line 34 of file stat.h.

#define _MKNOD_VER_LINUX   1

Definition at line 32 of file stat.h.

#define _MKNOD_VER_SVR4   2

Definition at line 33 of file stat.h.

#define _STAT_VER   _STAT_VER_LINUX /* The one defined below. */

Definition at line 29 of file stat.h.

#define _STAT_VER_KERNEL   1

Definition at line 26 of file stat.h.

#define _STAT_VER_LINUX   3

Definition at line 28 of file stat.h.

#define _STAT_VER_LINUX_OLD   1

Definition at line 25 of file stat.h.

#define _STAT_VER_SVR4   2

Definition at line 27 of file stat.h.

Definition at line 133 of file stat.h.

Definition at line 136 of file stat.h.

Definition at line 134 of file stat.h.