Brooklyn/gnuk/chopstx/example-fs-bb48/tty.h
Scare Crowe 9cbba792a1 GNUK
2021-05-27 00:21:07 +05:00

10 lines
277 B
C

#define LINEBUFSIZE 128
struct tty;
struct tty *tty_open (void);
void tty_wait_configured (struct tty *tty);
void tty_wait_connection (struct tty *tty);
int tty_send (struct tty *tty, const char *buf, int count);
int tty_recv (struct tty *tty, char *buf, uint32_t *timeout);