Differences From Artifact [632e354c90]:
- File kcore/core.h — part of check-in [b5f6f19923] at 2019-08-19 01:46:21 on branch trunk — updates, begin putting together error-handling mechanism (user: lexi, size: 3903) [annotate] [blame] [check-ins using]
- File mod/kcore/core.h — part of check-in [14172a910a] at 2019-08-21 06:00:24 on branch trunk — move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files (user: lexi, size: 3903) [annotate] [blame] [check-ins using]
To Artifact [4bc4090351]:
- File mod/kcore/core.h — part of check-in [81758652b5] at 2019-08-24 23:40:15 on branch trunk — parse environment and add env variables to the kenv struct passed to the entry function; add example code to testbin showing use of kvars (user: lexi, size: 3912) [annotate] [blame] [check-ins using]
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
ksraw val;
char* platform;
} kvar;
typedef struct kenv {
kiochan std;
kiochan err;
sz argc; char** argv;
kvar* vars;
} kenv;
/* i'm really sorry okay */
typedef
#if (__STDC_VERSION__ >= 199901L)
_Bool bool;
#endif
|
| | |
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
ksraw val; char* platform; } kvar; typedef struct kenv { kiochan std; kiochan err; sz argc; char** args; sz varc; kvar* vars; } kenv; /* i'm really sorry okay */ typedef #if (__STDC_VERSION__ >= 199901L) _Bool bool; #endif |