Module rustix::backend::vdso_wrappers
source Β· Expand description
Implement syscalls using the vDSO.
https://man7.org/linux/man-pages/man7/vdso.7.html
Β§Safety
Similar to syscalls.rs, this file performs raw system calls, and sometimes passes them uninitialized memory buffers. This file also calls vDSO functions.
Structs§
- Function π
AtomicPtr
canβt hold afn
pointer, so we use a*
pointer to this placeholder type, and cast it as needed.
Statics§
- CLOC
K_ πGETTIME - GETCPU π
Functions§
- clock_
gettime π - init π
- init_
clock_ πgettime InitializeCLOCK_GETTIME
and return its value. - init_
getcpu πInitializeGETCPU
and return its value. - minimal_
init π - rustix_
clock_ π βgettime_ via_ syscall - rustix_
getcpu_ π βvia_ syscall - sched_
getcpu π
Type Aliases§
- Clock
Gettime πType - Getcpu
Type π