Espresso 0.0.2c
This commit is contained in:
@ -4,10 +4,23 @@
|
||||
#include <types.h>
|
||||
#include <printf.h>
|
||||
|
||||
#define STDIN 0
|
||||
#define STDOUT 1
|
||||
#define STDERR 2
|
||||
|
||||
int read(uint32_t fd, void* data, size_t max_len);
|
||||
int write(uint32_t fd, void* data, size_t len);
|
||||
|
||||
char getchar(void);
|
||||
char* getstring(void);
|
||||
char* gets(void); /* Use this instead of getstring() */
|
||||
|
||||
int getstr(char* dest);
|
||||
|
||||
char* gets_new(int* num);
|
||||
|
||||
void putc(char c);
|
||||
|
||||
static inline void putchar(char c)
|
||||
{
|
||||
printf("%c", c);
|
||||
|
||||
Reference in New Issue
Block a user