BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / blob / d41a53cbc7d055b1c00cf0a339dbed6925f4f02c / screen.h

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
#ifndef KERNEL_SCREEN_H
#define KERNEL_SCREEN_H

int sprintf(char *buf, char *fmt, ...);
void panic(char *fmt, ...);
void kprintf(char *fmt, ...);
void dbgprintf(char *msg);

#define ASSERT(c)  ({ \
        if (!(c)) \
        	panic("Assertion failed (%s:%d): " #c, \
        	      __FILE__, __LINE__); \
        c; \
})

#endif