Back to index

glibc  2.9
Defines
device-nrs.h File Reference
#include <sys/sysmacros.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEV_NULL_MAJOR   1
#define DEV_NULL_MINOR   3
#define DEV_FULL_MAJOR   1
#define DEV_FULL_MINOR   7
#define DEV_TTY_LOW_MAJOR   136
#define DEV_TTY_HIGH_MAJOR   143
#define DEV_TTY_P(statp)

Define Documentation

#define DEV_FULL_MAJOR   1

Definition at line 30 of file device-nrs.h.

#define DEV_FULL_MINOR   7

Definition at line 31 of file device-nrs.h.

#define DEV_NULL_MAJOR   1

Definition at line 26 of file device-nrs.h.

#define DEV_NULL_MINOR   3

Definition at line 27 of file device-nrs.h.

#define DEV_TTY_HIGH_MAJOR   143

Definition at line 39 of file device-nrs.h.

#define DEV_TTY_LOW_MAJOR   136

Definition at line 38 of file device-nrs.h.

#define DEV_TTY_P (   statp)
Value:
({ int __dev_major = major ((statp)->st_rdev);                       \
     __dev_major >= DEV_TTY_LOW_MAJOR && __dev_major <= DEV_TTY_HIGH_MAJOR; })

Definition at line 42 of file device-nrs.h.