From b461c3558b2fe765a4bac512638b0acf5185b4bb Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 12 Oct 2018 00:30:44 +0200 Subject: imeplemented /dev/tty and minimalistic "less" --- kernel/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/syscalls.h') diff --git a/kernel/syscalls.h b/kernel/syscalls.h index b79e6b3..5579dd7 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -48,7 +48,7 @@ /** Todo move somewhere else and init per process , think how to make thread safe */ void fd_init_std_streams(uint32_t pid); -fd *get_fd(uint32_t pid,uint32_t file); +fd *get_tty(uint32_t pid); /** returns string representation of the syscall from its number */ char* syscall_get_name(uint32_t num); -- cgit v1.2.3