zephyr/lib/os
Chris Friedt a3e934f12c sys: clock: additional sys_clock api calls
Additional entries for the sys_clock API, comprised of:

* sys_clock_gettime()
* sys_clock_settime()
* sys_clock_nanosleep()

along with the constants

* SYS_CLOCK_REALTIME
* SYS_CLOCK_MONOTONIC
* SYS_TIMER_ABSTIME

The primary motivation for this API is so that libc and other
libraries have a familiar-enough API to reach to when POSIX
is not available, since POSIX is optional in Zephyr.

By adding this API to lib/os, we also eliminate dependency cycles
between libc and posix, as lib/os is a mutual dependency.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00
..
zvfs net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
assert.c
cbprintf_complete.c lib: os: cbprintf_complete: add missing break statement 2025-06-18 17:48:03 -04:00
cbprintf_nano.c
cbprintf_packaged.c lib: os: cbprintf_packaged: Fix cbprintf_package_convert 2024-11-01 09:56:03 -05:00
cbprintf.c
clock.c sys: clock: additional sys_clock api calls 2025-06-24 14:18:52 +02:00
CMakeLists.txt sys: clock: additional sys_clock api calls 2025-06-24 14:18:52 +02:00
fdtable.c lib/os/fdtable: Remove ifdef on NATIVE_POSIX 2025-03-12 02:27:36 +01:00
Kconfig p4wq: Add Kconfig to perform early init on threads 2025-02-18 05:32:58 +01:00
Kconfig.cbprintf
mpsc_pbuf.c lib: os: mpsc_pbuf: take spinlock in utilization getters 2025-02-18 13:30:29 +01:00
mutex.c
p4wq.c p4wq: Add Kconfig to perform early init on threads 2025-02-18 05:32:58 +01:00
poweroff.c
printk.c lib: os: Fix function signature of str_out 2025-06-18 17:45:06 -04:00
reboot.c
sem.c
spsc_pbuf.c
thread_entry.c arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
user_work.c