Kernel: Process can now initialize stdio

This allows the use of the fds STD{IN,OUT,ERR}_FILENO
This commit is contained in:
Bananymous
2023-04-05 01:10:25 +03:00
parent 63e863ad35
commit af0979ec32
3 changed files with 19 additions and 5 deletions

View File

@@ -27,6 +27,8 @@ namespace Kernel
BAN::ErrorOr<void> add_thread(entry_t, void*);
void on_thread_exit(Thread&);
BAN::ErrorOr<void> init_stdio();
pid_t pid() const { return m_pid; }
BAN::ErrorOr<int> open(BAN::StringView, int);