feat: Massive OS expansion with IPC, Sound & TTS, Block layer, FAT32/ext2/sysfs, Signals, Syscalls, Modules, Drivers & 50+ LazyBox applets

This commit is contained in:
subhobhai943 committed 2026-08-16 23:06:53 +05:30
1 parent 5662be29f5
commit d680335f05
64 files changed
+2370 -166

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#ifndef _IPC_SHM_H
#define _IPC_SHM_H
#include <ipc/ipc.h>
#define MAX_SHM_SEGS 16
#define SHM_MAX_SIZE 65536
typedef struct shmid_ds {
int shmid;
key_t key;
size_t size;
void* addr;
uint32_t nattch;
bool in_use;
} shmid_ds_t;
int shmget(key_t key, size_t size, int shmflg);
void* shmat(int shmid, const void* shmaddr, int shmflg);
int shmdt(const void* shmaddr);
int shmctl(int shmid, int cmd, struct shmid_ds* buf);
#endif // _IPC_SHM_H