tty: add tee
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
e78aeb66fb
commit
4909482a2e
5 changed files with 88 additions and 10 deletions
|
|
@ -32,5 +32,8 @@ void tty_set_cursor_pos(struct tty *tty, int x, int y);
|
|||
void tty_get_cursor_pos(struct tty *tty, int *row, int *col);
|
||||
void tty_get_size(struct tty *tty, int *rows, int *cols);
|
||||
void tty_setlf(struct tty *tty);
|
||||
struct tty *tty_tee_create(const char *name);
|
||||
void tty_tee_add(struct tty *tee, struct tty *child);
|
||||
void tty_tee_remove(struct tty *tee, struct tty *child);
|
||||
|
||||
#endif /* _TTY_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue