Definition in file ptutil.h.
Go to the source code of this file.
Compounds | |
struct | PTINFO |
Defines | |
#define | PT_MAX_NAME 20 |
#define | PT_GET_MASTER_FD(p) ((p)->pt_fd_m) |
#define | PT_GET_SLAVE_FD(p) ((p)->pt_fd_s) |
Functions | |
PTINFO * | pt_open_master (void) |
bool | pt_wait_master (PTINFO *p) |
bool | pt_open_slave (PTINFO *p) |
bool | pt_close_master (PTINFO *p) |
bool | pt_close_slave (PTINFO *p) |
|
Definition at line 17 of file ptutil.h. Referenced by main(), and pt_wait_master(). |
|
Definition at line 18 of file ptutil.h. Referenced by main(). |
|
Definition at line 8 of file ptutil.h. Referenced by pt_open_master(). |
|
Definition at line 202 of file ptutil.c. References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, and PTINFO::pt_fd_m. Referenced by main(). |
|
Definition at line 213 of file ptutil.c. References close(), and PTINFO::pt_fd_s. |
|
Definition at line 117 of file ptutil.c. References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_false, ec_neg1, ec_null, errno, find_and_open_master(), grantpt(), PTINFO::pt_fd_m, PTINFO::pt_fd_s, PT_MAX_NAME, PTINFO::pt_name_m, PTINFO::pt_name_s, ptsname(), PTY_MS, and unlockpt(). Referenced by main(). |
|
Definition at line 161 of file ptutil.c. References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_neg1, errno, fchmod(), ioctl(), open(), PERM_FILE, PTINFO::pt_fd_s, PTINFO::pt_name_s, and setsid(). Referenced by main(). |
|
Definition at line 187 of file ptutil.c. References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, FD_SET(), FD_ZERO(), PT_GET_MASTER_FD, and select(). Referenced by main(). |