nuttx/libs/libc
Javier Alonso badb5c5ac6 [POSIX][Bug] syslog: Add support for %m modifier
The POSIX standard states that the `syslog()` function generates
the body from the message and arguments the same way as `printf()`,

> except that the additional conversion specification `%m` shall be
> recognized;

*https://pubs.opengroup.org/onlinepubs/009695399/functions/syslog.html*

What most of the implementations do is to leverage the processing to
`vsprintf` internals, to reduce code duplicity. This means the `%m`
modifier is present on almost all `printf` implementations. Take
the following code snippet as an example: https://onlinegdb.com/YdR9pU6KS.

Therefore, for `syslog` to support such a specification, the underlying
library shall be updated to support it too.
2024-12-23 16:54:41 -03:00
..
aio libs/libc: There is no need to use sched_[un]lock 2024-10-12 13:28:23 +08:00
assert libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
audio libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
builtin libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
ctype libcxx: fix compile error 2024-10-23 09:42:57 +08:00
dirent cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
dlfcn nuttx/libc:Add _dl_find_object and dl_iterate_phdr function. 2024-10-15 12:35:54 +08:00
errno libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
eventfd libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
fdt libs/libc/fdt/Make.defs: cannot move due to directory not empty bugfix 2024-10-09 15:42:17 +08:00
fixedmath libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
gdbstub Fix Kconfig style 2024-11-20 16:45:40 -03:00
gnssutils libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
grp libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
hex2bin stream_getc: use lib_stream_eof instead of EOF 2024-11-26 10:25:36 +08:00
inttypes libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
libgen libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
locale fix compile warning 2024-11-12 17:21:42 +08:00
lzf libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
machine libc/gnu: fix typo adress -> address 2024-12-17 20:48:07 +08:00
misc lib_pathbuffer.c:Use atomic instead of locks 2024-12-17 00:10:52 +08:00
modlib modlib:need add ctors to init_array and dtors to fini_array 2024-11-12 18:48:33 +08:00
net lib_getifaddrs.c:set the last multi ipv6addr next pointer to be NULL 2024-11-21 21:31:28 +08:00
netdb DNS: Implement TCP fallback 2024-10-31 17:18:20 +08:00
obstack stream: reduce int use, handle FS_LARGEFILE correctly. 2024-11-15 01:05:04 +08:00
pthread spinlock: use spin_lock_init replace spin_initialize 2024-11-26 00:02:44 +08:00
pwd libs/libc/unistd: add getspnam function 2024-10-16 11:15:25 +08:00
queue libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
regex libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
sched libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
search libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
semaphore sem: change sem wait to atomic operation 2024-12-10 22:00:42 +08:00
signal cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
spawn cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
stdio [POSIX][Bug] syslog: Add support for %m modifier 2024-12-23 16:54:41 -03:00
stdlib libs/libc/stdlib: migrate to SPDX identifier 2024-12-17 09:36:46 +08:00
stream blk/mtdoutstream: use lib_sostream_s to support seek 2024-11-30 03:08:35 +08:00
string Revert "libc/lib_bzero:Add bzero prototype." 2024-10-23 10:08:23 +08:00
symtab lib_libvsprintf.c:add option in Kconfig to control "%p*" special format specifier. 2024-10-15 15:33:13 +08:00
syslog cmake(bugfix):fix libc sysclog CMake build typo 2024-10-31 17:55:13 +08:00
termios libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
time userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
tls libc: Add debug assert to prevent tls allocation failure 2024-10-18 21:34:18 +08:00
uio move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
unistd nuttx: add get_current_dir_name implementation 2024-12-19 20:55:51 +08:00
userfs libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
uuid libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
wchar libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
wctype libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
wqueue cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
zoneinfo libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
.gitignore libfdt: modify makefile 2023-08-26 17:07:02 +08:00
CMakeLists.txt libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
Kconfig nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
libc.csv nuttx: add get_current_dir_name implementation 2024-12-19 20:55:51 +08:00
libc.h libc/machine:Add prefixes to libc functions implemented by arch 2024-10-31 18:11:16 +08:00
Makefile makefile/build: Delete unnecessary bin and kbin folders 2024-11-10 01:18:26 +08:00