PatchworkOS
da8a090
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
gettid.c
Go to the documentation of this file.
1
#include <
stdio.h
>
2
#include <
sys/io.h
>
3
4
#include "
user/common/syscalls.h
"
5
6
tid_t
gettid
(
void
)
7
{
8
return
_syscall_gettid
();
9
}
gettid
tid_t gettid(void)
System call to retrieve the current tid.
Definition
gettid.c:6
tid_t
__UINT64_TYPE__ tid_t
Thread Identifier.
Definition
tid_t.h:12
io.h
stdio.h
syscalls.h
_syscall_gettid
static tid_t _syscall_gettid(void)
Definition
syscalls.h:128
src
libstd
user
functions
proc
gettid.c
Generated on Fri Dec 12 2025 00:22:11 for PatchworkOS by
1.9.8