zephyr/lib
Yong Cong Sin fe94d4354a libc: common: implement multiple time functions
Implemented the following:
- `asctime_r()`
- `asctime()`
- `localtime()`
- `localtime_r()`
- `ctime()`
- `ctime_r()`

Specifically:
- the implementation of `localtime()` & `localtime_r()` simply
  wraps around the gmtime() & gmtime_r() functions, the
  results are always expressed as UTC.
- `ctime()` is equivalent to `asctime(localtime(clock))`, it
  inherits the limitation of `localtime()` as well, which only
  supports UTC results currently.

Added tests for these newly implemented functions.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-08-21 16:59:15 -04:00
..
acpi
cpp lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
crc style: lib: crc: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
hash
heap lib: added blanks between operators 2024-06-13 20:28:23 -04:00
libc libc: common: implement multiple time functions 2024-08-21 16:59:15 -04:00
mem_blocks
open-amp driver: ram_console: leave one byte from the defined buffer size 2024-06-12 17:09:24 -05:00
os lib: os: change __printk_get_hook return type to printk_hook_fn_t 2024-07-27 10:41:01 +03:00
posix libc: common: implement multiple time functions 2024-08-21 16:59:15 -04:00
runtime
smf lib: smf: use `while (true)` in `get_child_of` for better clarity 2024-07-01 16:08:05 -04:00
utils json: support parsing and serializing 'int64_t' 2024-08-13 14:58:06 +02:00
CMakeLists.txt
Kconfig