nuttx/libs/libc/stdio
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Kconfig libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
legacy_dtoa.c Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
legacy_libvsprintf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_asprintf.c
lib_clearerr.c
lib_dprintf.c
lib_dtoa_data.c Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
lib_dtoa_engine.c Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
lib_dtoa_engine.h Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
lib_fclose.c
lib_feof.c
lib_ferror.c Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
lib_fflush.c
lib_fgetc.c
lib_fgetpos.c
lib_fgets.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_fileno.c
lib_fopen.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_fprintf.c
lib_fputc.c
lib_fputs.c
lib_fread.c
lib_freopen.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_fscanf.c
lib_fseek.c
lib_fsetpos.c
lib_ftell.c
lib_fwrite.c
lib_getdelim.c include/cxx/ctime: Remove gititimer and setitimer. These are prototyped in sys/time.h, not time.h. Alternatively, ctime could include sys/time.h. Those APIs should also be in the std namespace. 2019-11-13 14:01: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
lib_libdtoa.c Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
lib_libfflush.c
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
lib_libfread.c
lib_libfwrite.c
lib_libnoflush.c
lib_libsnoflush.c
lib_libsprintf.c
lib_libvscanf.c Various fixes to get a clean compile with the SDCC compiler. Compile is 'almost' clean. 2019-06-03 16:53:11 -06:00
lib_libvsprintf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_lowoutstream.c
lib_meminstream.c
lib_memoutstream.c
lib_memsistream.c
lib_memsostream.c
lib_nullinstream.c
lib_nulloutstream.c
lib_perror.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_printf.c
lib_puts.c
lib_rawinstream.c
lib_rawoutstream.c
lib_rawsistream.c
lib_rawsostream.c
lib_rdflush.c
lib_remove.c
lib_scanf.c
lib_setbuf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_setvbuf.c
lib_snprintf.c
lib_sprintf.c
lib_sscanf.c
lib_stdinstream.c
lib_stdoutstream.c
lib_stdsistream.c
lib_stdsostream.c
lib_tempnam.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_tmpnam.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_ultoa_invert.c
lib_ultoa_invert.h
lib_ungetc.c
lib_vasprintf.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
lib_vdprintf.c
lib_vfprintf.c
lib_vfscanf.c
lib_vprintf.c
lib_vsnprintf.c
lib_vsprintf.c
lib_vsscanf.c
lib_wrflush.c
lib_zeroinstream.c
Make.defs libs/libc/stdio/lib_getdelim.c: Add implementations of the POSIX functions getdelim() and getline(). 2019-11-12 18:58:50 -06:00