nuttx/libs/libc
Karel Kočí c4d8d937d5 libs/libc/obstack: correctly append null byte at the end of string
obstack_printf and obstack_vprintf should terminate the C string with
null byte but lib_vsprintf doesn't do it. It must be done on top of
that unless we get unterminated string.

This is fix to be consistent with GlibC behavior.

This also includes minor tweak to use obstack_1grow directly instead of
calling obstack_puts.
2024-08-21 10:21:50 -03:00
..
aio
assert
audio
bin
builtin
ctype
dirent
dlfcn
errno
eventfd
fdt
fixedmath
gdbstub
gpsutils
grp
hex2bin
inttypes
kbin
libgen
locale
lzf
machine
misc
modlib
net
netdb
obstack
pthread
pwd
queue
regex
sched
search
semaphore
signal
spawn
stdio
stdlib
stream
string
symtab
syslog
termios
time
tls
uio
unistd
userfs
uuid
wchar
wctype
wqueue
zoneinfo
.gitignore
CMakeLists.txt
Kconfig
libc.csv
libc.h
Makefile