shithub: cursedfs

ref: df658e1cb061e52186c504e84a8430163e9a090b
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);