Simple IPC with pipes

This commit is contained in:
2025-09-06 11:47:01 +02:00
parent 643d692259
commit cd0e262e56
21 changed files with 312 additions and 17 deletions

View File

@ -2,7 +2,12 @@
#include <stddef.h>
#include <system/ioctl.h>
#include <sysdefs/ioctl.h>
#include <system/system.h>
#include <sysdefs/syscall.h>
#include <syscall/syscall.h>
int32_t ioctl(uint64_t ioh, uint64_t cmd, void *extra) {
return syscall(SYS_IOCTL, ioh, cmd, (uint64_t)extra, 0, 0, 0);
}
int32_t ioctl_openfile(const char *path, uint64_t flags) {
IOCtlOF cfg = { .path = path, .flags = flags };