nuttx/libs/libc
Michal Lenc eea7db24f3 libc: add support for open_memstream
Adds support for POSIX interface open_memstream() that allows writing
to dynamic memory buffer stream. The stream is dynamically reallocated
as the buffer grows with initial size set to zero.

The caller has to free the buffer after the stream is closed.

The implementation uses fopencookie() for custom stream operations and
callbacks.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-11-29 02:13:19 -08:00
..
aio libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
assert
audio libsrc: update version in CMakeLists.txt 2023-09-07 22:15:48 +08:00
bin
builtin libs/libc: adapt the cmake script from the makefile 2023-11-07 17:39:03 +01:00
ctype
dirent
dlfcn Fix loading of ET_DYN type of shared objects 2023-09-20 09:35:28 -04:00
errno
eventfd
fdt libfdt: modify makefile 2023-08-26 17:07:02 +08:00
fixedmath
gdbstub tcbinfo:remove total_num form tcbinfo. 2023-11-21 21:52:24 -08:00
gpsutils libs/libc: adapt the cmake script from the makefile 2023-11-07 17:39:03 +01:00
grp
hex2bin c++ compatibility: rename reserved c++ keywords 'public' and 'this' 2023-09-16 19:45:02 +08:00
inttypes
kbin
libgen
locale libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
lzf
machine libc_atomic: add file to cmake script 2023-11-07 17:39:03 +01:00
misc sched/semaphore: Move cancel point and errno handling to libc / user-space 2023-11-27 04:52:54 -08:00
modlib modlib/modlib_load: fix compile warning 2023-10-26 01:53:38 +08:00
net
netdb netdb: When set a dns nameserver, if the nameserver already exists, retrun OK. 2023-10-12 12:22:16 +08:00
obstack c++ compatibility: rename reserved c++ keywords 'public' and 'this' 2023-09-16 19:45:02 +08:00
pthread sched/tls_info: Add tl_ prefix to pthread cleanup stack / tos 2023-11-15 08:52:04 -08:00
pwd pwd: fix syntax error 2023-09-04 23:19:46 +08:00
queue
regex
sched task/pthread_cancelpt: Move cancel point handling to libc, data to TLS 2023-11-15 08:52:04 -08:00
semaphore sched/semaphore: Move named semaphores to user space 2023-11-27 04:52:54 -08:00
signal signal: add siginterrupt implementation 2023-08-29 09:43:42 +08:00
spawn libs/libc/spawn: Add minimal implementation for posix_spawnattr_destory. 2023-10-31 13:42:00 +08:00
stdio libc: add support for open_memstream 2023-11-29 02:13:19 -08:00
stdlib libc/realpath: allocate link buffer of pseudofs to save stack 2023-11-07 09:05:50 +08:00
stream libc/stdio: Remove bforce from lib_fflush[_unlocked] 2023-10-29 17:09:18 +02:00
string Revert "libc/lib_bzero:Add bzero prototype." 2023-11-21 07:56:52 -08:00
symtab
syslog
termios
time libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
tls task/pthread_cancelpt: Fix task_delete from another task group 2023-11-22 08:05:58 -08:00
uio
unistd libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
userfs
uuid libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
wchar libs/libc/wchar: add wcswidth implementation 2023-09-22 08:51:07 +08:00
wctype
wqueue semaphore/_SEM_XX: Remove the _SEM redirection macros as unnecessary 2023-11-27 04:52:54 -08:00
zoneinfo Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
.gitignore libfdt: modify makefile 2023-08-26 17:07:02 +08:00
CMakeLists.txt
Kconfig
libc.csv libc: Add bsearch to libc.csv 2023-09-25 01:08:15 +03:00
libc.h stdio: Implement [clearerr|putc|fflush]_unlocked 2023-10-29 17:09:18 +02:00
Makefile