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_LINUX   1
#define _STAT_VER   _STAT_VER_LINUX
#define _MKNOD_VER_LINUX   0
#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 140 of file stat.h.

#define __S_IFBLK   0060000 /* Block device. */

Definition at line 121 of file stat.h.

#define __S_IFCHR   0020000 /* Character device. */

Definition at line 120 of file stat.h.

#define __S_IFDIR   0040000 /* Directory. */

Definition at line 119 of file stat.h.

#define __S_IFIFO   0010000 /* FIFO. */

Definition at line 123 of file stat.h.

#define __S_IFLNK   0120000 /* Symbolic link. */

Definition at line 124 of file stat.h.

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

Definition at line 116 of file stat.h.

#define __S_IFREG   0100000 /* Regular file. */

Definition at line 122 of file stat.h.

#define __S_IFSOCK   0140000 /* Socket. */

Definition at line 125 of file stat.h.

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

Definition at line 138 of file stat.h.

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

Definition at line 136 of file stat.h.

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

Definition at line 135 of file stat.h.

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

Definition at line 137 of file stat.h.

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

Definition at line 139 of file stat.h.

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

Definition at line 129 of file stat.h.

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

Definition at line 130 of file stat.h.

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

Definition at line 131 of file stat.h.

#define _MKNOD_VER_LINUX   0

Definition at line 29 of file stat.h.

#define _STAT_VER   _STAT_VER_LINUX

Definition at line 26 of file stat.h.

#define _STAT_VER_KERNEL   0

Definition at line 24 of file stat.h.

#define _STAT_VER_LINUX   1

Definition at line 25 of file stat.h.

Definition at line 109 of file stat.h.

Definition at line 112 of file stat.h.

Definition at line 110 of file stat.h.