wm: teppich

ref: 5c52ce22504688695f87ba4730990c51fa3cde56
dir: /include/u.h/

View raw version
#pragma once
#define nil ((void*)0x0)
#define LONG_MAX	2147483647L
#define LONG_MIN	-2147483648L

typedef int size_t;

typedef unsigned char uint8; 
typedef char int8;

typedef unsigned short uint16;
typedef short int16;

typedef unsigned long uint32;
typedef long int32;

typedef __builtin_va_list va_list;
typedef struct
{
	void *val;
	void *next;
}ll_t;

typedef struct
{
	char *name;
	int (*main)(int argc, char **argv);
}prog_t;