From 9820e8d18a2b459e95faf004573ada9fa8f16627 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 18 May 2024 20:31:37 -0400 Subject: kernel: tty: Add tty_putstr() Signed-off-by: Ian Moffett --- sys/include/sys/tty.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/tty.h b/sys/include/sys/tty.h index 4a2c9ec..c53ea73 100644 --- a/sys/include/sys/tty.h +++ b/sys/include/sys/tty.h @@ -57,6 +57,7 @@ extern struct tty g_root_tty; dev_t tty_attach(struct tty *tty); int tty_putc(struct tty *tty, int c); +int tty_putstr(struct tty *tty, const char *s, size_t count); ssize_t tty_flush(struct tty *tty); #endif /* !_SYS_TTY_H_ */ -- cgit v1.2.3