Kernel/LibC: Implement pthread_self

This commit is contained in:
2025-04-02 02:39:14 +03:00
parent 691c9fe8e0
commit 5549696c3a
4 changed files with 12 additions and 0 deletions

View File

@@ -184,6 +184,7 @@ namespace Kernel
BAN::ErrorOr<long> sys_pthread_create(const pthread_attr_t* __restrict attr, void (*entry)(void*), void* arg);
BAN::ErrorOr<long> sys_pthread_exit(void* value);
BAN::ErrorOr<long> sys_pthread_self();
BAN::ErrorOr<long> sys_tcgetpgrp(int fd);
BAN::ErrorOr<long> sys_tcsetpgrp(int fd, pid_t pgid);