LibC/Kernel: Implement ttyname

This commit is contained in:
2024-07-30 11:41:18 +03:00
parent ca774dfeb5
commit e5bb843059
5 changed files with 25 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_smo_delete(SharedMemoryObjectManager::Key);
BAN::ErrorOr<long> sys_smo_map(SharedMemoryObjectManager::Key);
BAN::ErrorOr<long> sys_ttyname(int fildes, char* storage);
BAN::ErrorOr<long> sys_isatty(int fildes);
BAN::ErrorOr<long> sys_tty_ctrl(int fildes, int command, int flags);