A update
This commit is contained in:
16
include/io.h
Normal file
16
include/io.h
Normal file
@ -0,0 +1,16 @@
|
||||
/* Defines a abstract base for I/O in the Espresso kernel. */
|
||||
|
||||
#ifndef ESPRESSO_IO_H
|
||||
#define ESPRESSO_IO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <text_display.h>
|
||||
|
||||
void print(const char* str);
|
||||
|
||||
char* input(uint8_t dev=0);
|
||||
|
||||
void writefile(uint8_t mode, char* file, char* data);
|
||||
char* readfile(char* file);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user