nuttx/libs/libc/stdio
Xiang Xiao 5f387bebc6 fs: Don't call _NX_SETERRNO in fopen and fdopen
since fs_fdopen always return the error code directly

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-02-21 12:40:43 +00:00
..
Kconfig libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
legacy_dtoa.c libs/libc: fix typos in comments 2020-12-13 09:06:28 -06:00
legacy_libvsprintf.c libs/libc/stdio: replace double_t to double 2020-09-15 14:42:36 +08:00
lib_asprintf.c syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
lib_clearerr.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_dprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_dtoa_data.c libs/libc/stdio: replace double_t to double 2020-09-15 14:42:36 +08:00
lib_dtoa_engine.c libs/libc/stdio: replace double_t to double 2020-09-15 14:42:36 +08:00
lib_dtoa_engine.h libs/libc/stdio: replace double_t to double 2020-09-15 14:42:36 +08:00
lib_fclose.c libc: Skip close stdin/stdout/stderr in fclose 2020-10-26 22:16:53 -07:00
lib_feof.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_ferror.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_fflush.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
lib_fgetc.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_fgetpos.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_fgets.c syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
lib_fileno.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_fopen.c fs: Don't call _NX_SETERRNO in fopen and fdopen 2021-02-21 12:40:43 +00:00
lib_fprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_fputc.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_fputs.c libc: Add IPTR for puts/fputs 2020-06-10 00:03:53 -07:00
lib_fread.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_freopen.c libc: Don't fclose and fopen file in freopen 2020-10-19 21:31:31 -07:00
lib_fscanf.c libs/libc/stdio: In the recent changes we lost the implementation of vsscanf(). This commit restores vsscanf(). sscanf() is not just a front end for vsscanf(). 2019-02-15 17:31:58 -06:00
lib_fseek.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_fseeko.c stdio.h: Implement fseeko and ftello function 2020-06-29 14:26:19 +09:00
lib_fsetpos.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_ftell.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_ftello.c stdio.h: Implement fseeko and ftello function 2020-06-29 14:26:19 +09:00
lib_fwrite.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_getc.c libc: Refine the inline handling 2020-07-04 11:10:29 +09:00
lib_getchar.c libc: Refine the inline handling 2020-07-04 11:10:29 +09:00
lib_getdelim.c libs/libc/stdio/lib_getdelim.c: Correct the character slash 2020-02-19 12:47:25 -06:00
lib_gets_s.c libs/libc/stdio/lib_getdelim.c: Add implementations of the POSIX functions getdelim() and getline(). 2019-11-12 18:58:50 -06:00
lib_gets.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_libdtoa.c libs/libc/stdio: replace double_t to double 2020-09-15 14:42:36 +08:00
lib_libfflush.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_libfgets.c libs/libc/stdio/lib_libfgets.c: Because of how the function is defined, getline() canot be used on platforms that require CR-LF line terminations. 2019-11-12 19:43:42 -06:00
lib_libflushall.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_libfread.c lib_libfread.c: Replace Gregory Nutt's copyright notice with Apache 2.0 2020-07-30 16:16:21 +02:00
lib_libfwrite.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_libnoflush.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_libsnoflush.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_libsprintf.c Restore lib_sprintf(). It was removed because I thought was not used. But I was wrong; there is logic in drivers/syslog that depends on lib_sprintf(). 2019-02-16 12:29:00 -06:00
lib_libvscanf.c lib_libvscanf.c: Implement "j" modifier for scanf 2020-09-23 03:28:40 -07:00
lib_libvsprintf.c lib_libvsprintf.c: Implement "t" modifier for printf 2020-11-10 00:03:06 -08:00
lib_lowoutstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_meminstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_memoutstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_memsistream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_memsostream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_nullinstream.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_nulloutstream.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_perror.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_printf.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_putc.c libc: Refine the inline handling 2020-07-04 11:10:29 +09:00
lib_putchar.c libc: Refine the inline handling 2020-07-04 11:10:29 +09:00
lib_puts.c libc: Add IPTR for puts/fputs 2020-06-10 00:03:53 -07:00
lib_rawinstream.c z20x: Changes to reduce serial Rx data overrun 2020-03-09 22:51:54 +01:00
lib_rawoutstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_rawsistream.c z20x: Changes to reduce serial Rx data overrun 2020-03-09 22:51:54 +01:00
lib_rawsostream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_rdflush.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_remove.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_rewind.c rewind: clear the error indicator 2020-06-24 16:56:44 +08:00
lib_scanf.c Squashed commit of the following: 2019-02-14 07:03:02 -06:00
lib_setbuf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_setvbuf.c libs/libc/pthread, syscall/, and include/sys/syscall.h: Support for pthread_mutex_timedlock() was added recently, however no new system call was added for the API make is usable only in the FLAT build. With a pthread_mutex_timedlock() system call, there is no reason for a pthread_mutex_lock() system call since it is now nothing more than an wrapper around pthread_mutex_timedlock(), passing NULL for the time value. The pthread_mutex_lock() syscall was removed and the pthread_mutex_lock() implemented was moved from /sched/pthread to where it now belows in libs/libc/pthread. 2019-02-25 18:19:13 -06:00
lib_snprintf.c snprintf: Fix a comment typo 2020-01-29 09:04:25 +01:00
lib_sprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_sscanf.c Cosmetic update to some comments. 2019-02-15 18:26:06 -06:00
lib_stdinstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_stdoutstream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_stdsistream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_stdsostream.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_tempnam.c libs/libc/stdio: correct the prototype of mktemp(3) 2020-09-19 04:16:14 -07:00
lib_tmpfile.c libc: tmpfile shouldn't hardcode the folder to /tmp 2020-06-03 07:46:02 -06:00
lib_tmpnam.c libs/libc/stdio: correct the prototype of mktemp(3) 2020-09-19 04:16:14 -07:00
lib_ultoa_invert.c libs/libc/stdio: Rename all nano_*.c and nano_*.h files to lib_*.c and lib_*.h to emphasize that these are now the defaults, not an optional implementation. 2019-02-17 12:29:50 -06:00
lib_ultoa_invert.h libs/libc/stdio: Fix long long usage in all of the newer printf-related logic: The selection CONFIG_LIBC_LONG_LONG must be ignored if the architecture does not support long long types. 2019-06-03 08:45:57 -06:00
lib_ungetc.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
lib_vasprintf.c libc: Replace all malloc/free to lib_malloc/lib_free 2020-07-29 10:14:27 +01:00
lib_vdprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_vfprintf.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
lib_vfscanf.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
lib_vprintf.c libc/stdio: Allocate file_struct dynamically 2020-09-11 17:58:17 +08:00
lib_vscanf.c libc: Implement vscanf() function 2020-06-03 07:35:08 -06:00
lib_vsnprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_vsprintf.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_vsscanf.c libc: Implement vscanf() function 2020-06-03 07:35:08 -06:00
lib_wrflush.c This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now. 2018-05-29 13:21:26 -06:00
lib_zeroinstream.c Remove exra whitespace from files (#189) 2020-01-31 09:24:49 -06:00
Make.defs stdio: remove depends on setbuf setvbuf 2020-10-26 22:12:02 -07:00