quinn-os/tty_fs.h
2015-08-30 21:23:50 +10:00

11 lines
375 B
C

#ifndef __TTY_FS
#define __TTY_FS
#include "vfs.h"
#define TTY_BUF_SIZE 256
extern void tty_input(struct vfs_device_t *device, char c);
extern int tty_write_data(struct vfs_device_t *device, char *buffer, int len, int offset);
extern int tty_read_data(struct vfs_device_t *device, char *buffer, int len, int offset);
extern int tty_init(struct vfs_device_t *device);
#endif