nuttx/libs/libc/stdio
dongjiuzhu1 5e3c1985e7 libc/fopen: support fopen with mode 'm'
refs:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html
This is a fake implementation, in order for fopen to succeed,
Because the complete mmap mapping the entire file will waste a lot of
memory.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2023-09-07 23:05:38 +08:00
..
CMakeLists.txt libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
Kconfig libc/stdio: changed LIBC_NL_ARGMAX default value to 9 2023-08-03 19:07:22 -07:00
lib_asprintf.c
lib_clearerr.c
lib_dprintf.c
lib_dtoa_data.c
lib_dtoa_engine.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
lib_dtoa_engine.h
lib_fclose.c libc/misc: add fdsan module 2023-05-17 10:24:42 +08:00
lib_feof.c
lib_ferror.c
lib_fflush.c fs/streams: Move the file streams from the group structure into TLS 2022-12-22 20:16:11 +08:00
lib_fgetc.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_fgetpos.c
lib_fgets.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_fileno.c
lib_fopen.c libc/fopen: support fopen with mode 'm' 2023-09-07 23:05:38 +08:00
lib_fprintf.c
lib_fputc.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_fputs.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_fread.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_freopen.c libs/libc: remove unnecessary flockfile to improve performance 2023-09-06 15:08:24 +03:00
lib_fscanf.c
lib_fseek.c
lib_fseeko.c libs/libc: remove unnecessary flockfile to improve performance 2023-09-06 15:08:24 +03:00
lib_fsetpos.c
lib_ftell.c
lib_ftello.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_fwrite.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_getc.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_getchar.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_getdelim.c stdio: Remove CONFIG_EOL_IS_XXX 2023-02-24 00:35:19 +08:00
lib_gets_s.c libc/stdio: Make gets/gets_s work without CONFIG_FILE_STREAM 2023-02-24 10:39:48 +08:00
lib_gets.c libc/stdio: Make gets/gets_s work without CONFIG_FILE_STREAM 2023-02-24 10:39:48 +08:00
lib_libdgets.c libc/stdio: Make gets/gets_s work without CONFIG_FILE_STREAM 2023-02-24 10:39:48 +08:00
lib_libdtoa.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
lib_libfflush.c libs/libc: remove unnecessary flockfile to improve performance 2023-09-06 15:08:24 +03:00
lib_libfgets.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_libfilelock.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_libflushall.c libc/stdio: Remove the one line mutex wrapper 2022-11-09 21:38:10 +01:00
lib_libfread_unlocked.c libs/libc: Fix a fatal bug in fread 2023-09-07 17:44:31 +08:00
lib_libfwrite.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_libgetstreams.c nxstyle: covert utf-8 to ascii 2023-07-14 01:24:50 +08:00
lib_libsprintf.c
lib_libstream.c fs/streams: Move the file streams from the group structure into TLS 2022-12-22 20:16:11 +08:00
lib_libvscanf.c libc/stream: Rename [lib_stream_](put|get) to [lib_stream_](putc|getc) 2022-12-05 14:27:55 +01:00
lib_libvsprintf.c libc: export lib_sprintf_internal function 2023-07-14 00:22:11 +03:00
lib_perror.c Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
lib_printf.c
lib_putc.c
lib_putchar.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_puts.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_rdflush_unlocked.c libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00
lib_remove.c libc/lib_remove: fix TOCTOU race condition 2023-06-29 18:15:06 +08:00
lib_renameat.c libc: Add a new argument(size_t fulllen) to lib_getfullpath 2023-05-08 09:57:01 +02:00
lib_rewind.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_scanf.c
lib_setbuf.c
lib_setbuffer.c libc: Add setbuffer to stdio. 2023-05-01 11:24:41 +03:00
lib_setvbuf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_snprintf.c
lib_sprintf.c
lib_sscanf.c
lib_tempnam.c Fixes in asprintf usage. 2023-04-19 02:48:39 +08:00
lib_tmpfile.c
lib_tmpnam.c
lib_ultoa_invert.c Revert "libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG" 2022-07-20 18:06:29 +03:00
lib_ultoa_invert.h Revert "libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG" 2022-07-20 18:06:29 +03:00
lib_ungetc.c libs/libc/stdio: fix ungetc operation 2022-10-14 23:29:38 +08:00
lib_vasprintf.c asprintf: Fixed possible memory leak if print fails. 2023-03-28 14:46:07 -03:00
lib_vdprintf.c stdio: Implement simple buffered out stream for vdprintf 2023-03-01 13:08:59 +09:00
lib_vfprintf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_vfscanf.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_vprintf.c
lib_vscanf.c
lib_vsnprintf.c
lib_vsprintf.c
lib_vsscanf.c
lib_wrflush_unlocked.c libs/libc: remove unnecessary flockfile to improve performance 2023-09-06 15:08:24 +03:00
Make.defs libs/libc: support unlock version for fread/fwrite/fputc/fgetc/... 2023-09-06 15:08:24 +03:00