Differences From
Artifact [bb457bb91b]:
1 1 #ifndef KIcore
2 2 #define KIcore
3 +#include <k/type.h>
4 +#include <k/io.h>
5 +#include <k/str.h>
6 +
7 +static void* const null = (void*)0;
3 8
4 -typedef unsigned long long sz;
5 -typedef unsigned char stat;
9 +typedef struct kvar {
10 + ksraw name;
11 + ksraw val;
12 + char* platform;
13 +} kvar;
6 14
7 15 typedef struct kenv {
8 - sz argc;
9 - char** argv;
16 + kiochan std;
17 + kiochan err;
18 + sz argc; char** argv;
19 + kvar* vars;
10 20 } kenv;
11 21
12 22 #endif