Wed, 23 Jul 2025 22:45:55 +0200
2 files changed,
3 insertions(+),
3 deletions(-)
M
libcedos/cedos.c
→
libcedos/cedos.c
@@ -50,9 +50,9 @@ interrupt(0x30, res, 4, fname, args, 0);
return res; } -int process_spawn_pipe(const char *fname, const char *args, int stdin, int stdout) { +int process_spawn_pipe(const char *fname, const char *args, int fd_in, int fd_out) { volatile uint32_t res = 0; - interrupt(0x30, res, 4, fname, args, stdin | (stdout << 8)); + interrupt(0x30, res, 4, fname, args, fd_in | (fd_out << 8)); return res; }
M
libcedos/cedos.h
→
libcedos/cedos.h
@@ -23,7 +23,7 @@ int yield();
void sleep(int msec); int get_pid(); int process_spawn(const char *fname, const char *args); -int process_spawn_pipe(const char *fname, const char *args, int stdin, int stdout); +int process_spawn_pipe(const char *fname, const char *args, int fd_in, int fd_out); void process_wait(int pid); void process_kill(int pid);