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 cmake:bugfix fix CMake LTO build block 2024-08-15 18:01:50 +08:00
audio audio/libsrc: fix build warning 2024-03-26 09:40:42 +08:00
bin
builtin
ctype Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
dirent
dlfcn dlfcn: Fix indent issue in lib_dlopen.c 2024-07-27 03:11:39 +08:00
errno
eventfd
fdt
fixedmath
gdbstub gdbstub: Minor style fix 2024-06-26 10:19:14 -03:00
gpsutils
grp
hex2bin
inttypes libs/libc/inttypes: add support for imaxdiv 2024-04-23 10:26:48 -03:00
kbin
libgen
locale Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
lzf
machine cmake:bugfix enable ARCH_STRING_FUNCTION CMake build fail 2024-08-14 20:58:59 +08:00
misc lib_getnprocs:add #include <sys/types.h> instead of ifdef 2024-08-21 02:04:15 +08:00
modlib greenhills: fix the moblib asm compile error 2024-08-11 14:28:12 -03:00
net libc/net: Fix indent issue in lib_base64.c 2024-07-27 03:11:39 +08:00
netdb netdb:netdb code support ffmpeg rtsp(getaddrinfo & getnameinfo) 2024-08-20 10:33:18 -03:00
obstack libs/libc/obstack: correctly append null byte at the end of string 2024-08-21 10:21:50 -03:00
pthread libs: fix the default value of process-shared attribute 2024-08-18 19:44:56 +08:00
pwd build: Fix libc/pwd CMakeLists.txt 2024-08-07 08:45:19 +08:00
queue
regex Replace all asserts in kernel code with ASSERT 2024-05-17 10:18:16 -03:00
sched
search
semaphore sem_open: return error code, sem returned by parameter 2024-06-06 02:40:50 +08:00
signal
spawn cmake: fix compilation 2024-06-02 09:27:36 -03:00
stdio libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
stdlib libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
stream
string libc:add missing source to fix windows build error 2024-08-14 22:36:57 +08:00
symtab
syslog
termios
time libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
tls
uio
unistd lib_getcwd:Fix the Name in the function description. 2024-08-21 02:52:45 +08:00
userfs
uuid
wchar libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
wctype
wqueue
zoneinfo
.gitignore
CMakeLists.txt
Kconfig
libc.csv pthread: add pthread_self/pthread_gettid_np function 2024-06-26 17:40:55 +08:00
libc.h
Makefile