Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/tty.h
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | struct xtty { | ||||
size_t xt_inlow; /* Input low watermark. */ | size_t xt_inlow; /* Input low watermark. */ | ||||
size_t xt_outsize; /* Output queue size. */ | size_t xt_outsize; /* Output queue size. */ | ||||
size_t xt_outcc; /* Output queue usage. */ | size_t xt_outcc; /* Output queue usage. */ | ||||
size_t xt_outlow; /* Output low watermark. */ | size_t xt_outlow; /* Output low watermark. */ | ||||
unsigned int xt_column; /* Current column position. */ | unsigned int xt_column; /* Current column position. */ | ||||
pid_t xt_pgid; /* Foreground process group. */ | pid_t xt_pgid; /* Foreground process group. */ | ||||
pid_t xt_sid; /* Session. */ | pid_t xt_sid; /* Session. */ | ||||
unsigned int xt_flags; /* Terminal option flags. */ | unsigned int xt_flags; /* Terminal option flags. */ | ||||
dev_t xt_dev; /* Userland device. */ | uint32_t xt_dev; /* Userland device. XXXKIB truncated */ | ||||
}; | }; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* Used to distinguish between normal, callout, lock and init devices. */ | /* Used to distinguish between normal, callout, lock and init devices. */ | ||||
#define TTYUNIT_INIT 0x1 | #define TTYUNIT_INIT 0x1 | ||||
#define TTYUNIT_LOCK 0x2 | #define TTYUNIT_LOCK 0x2 | ||||
#define TTYUNIT_CALLOUT 0x4 | #define TTYUNIT_CALLOUT 0x4 | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |