BarryServer : Git

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

// Related

Orion

Barry Moving signal handlers into separate namespace 7ae31b0 (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 (__builtin_expect(!(c),0)) \
        	panic("Assertion failed (%s:%d): " #c, \
        	      __FILE__, __LINE__); \
        c; \
})

#endif