test tty writer
This commit is contained in:
@ -21,9 +21,14 @@ public:
|
||||
private:
|
||||
void write_frame(uint16_t word0, uint16_t word1, uint16_t word2, uint16_t word3) const;
|
||||
void close_fd() noexcept;
|
||||
void close_slave_fd() noexcept;
|
||||
void remove_owned_link() noexcept;
|
||||
|
||||
std::string path_;
|
||||
#ifndef _WIN32
|
||||
int fd_ = -1;
|
||||
int slave_fd_ = -1;
|
||||
std::string slave_path_;
|
||||
bool owns_link_ = false;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user