shithub: cursedfs

ref: 0ddab8b30464a21c79fe7fa43621afd3496bc1ee
dir: /fs.h/

View raw version
#define Cmdwidth	1024
#define Ncmd		4
#define Nfiles		2

// Represents a 9p file
typedef struct File9 File9;

// All available files on the 9p fs
extern File9 *files[Nfiles];

// Init the draw screen
void	initscreen(void*);
// Put a rune on the screen (x,y)
Rune*	putrune(Rune, usize, usize);
// Put a string on the screen (y)
Rune*	putstring(Rune*, usize);
// Clear the screen
void	clear(void);