Initial commit: SUB-OS 64-Bit Production Monolithic Operating System with LazyBox userland suite

This commit is contained in:
subhobhai943 committed 2026-08-16 21:23:52 +05:30
commit cd9c786d14
88 files changed
+7132

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#ifndef _USERLAND_LAZYBOX_H
#define _USERLAND_LAZYBOX_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#define LAZYBOX_VERSION "2.0.0-pro"
typedef int (*applet_fn_t)(int argc, char** argv);
typedef struct {
const char* name;
applet_fn_t func;
const char* usage;
const char* desc;
const char* category;
} lazybox_applet_t;
void lazybox_init(void);
int lazybox_main(int argc, char** argv);
bool lazybox_has_applet(const char* name);
int lazybox_run_applet(const char* name, int argc, char** argv);
const lazybox_applet_t* lazybox_get_applets(int* count_out);
#endif // _USERLAND_LAZYBOX_H
+9
View File
@@ -0,0 +1,9 @@
#ifndef _USERLAND_SHELL_H
#define _USERLAND_SHELL_H
#define MAX_COMMAND_LENGTH 256
void shell_init(void);
void shell_run(void);
#endif // _USERLAND_SHELL_H