nuttx/libs/libc/stdio
Miguel Herranz 819ebe7356 libc/stdio: Add stdio file locking functions
Add flockfile(), ftrylockfile() and funlockfile() functions [1].

[1] POSIX.1-2008 / System Interfaces / flockfile
    https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/flockfile.html

Signed-off-by: Miguel Herranz <miguel@midokura.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 23:34:45 +08:00
..
Kconfig libc/stdio: Let STDIO_DISABLE_BUFFERING depends on FILE_STREAM 2022-09-22 17:41:05 +02:00
lib_asprintf.c
lib_clearerr.c
lib_dprintf.c
lib_dtoa_data.c
lib_dtoa_engine.c
lib_dtoa_engine.h
lib_fclose.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
lib_feof.c
lib_ferror.c
lib_fflush.c
lib_fgetc.c
lib_fgetpos.c
lib_fgets.c
lib_fileno.c
lib_fopen.c fs: Make the binary(no process) mode as the default 2022-06-07 20:22:26 +03:00
lib_fprintf.c
lib_fputc.c
lib_fputs.c Fix -Werror=nonnull-compare and -Werror=format-truncation= 2022-03-02 15:55:38 +08:00
lib_fread.c
lib_freopen.c freopen: Added flush of the read buffers. 2022-10-18 23:29:55 +08:00
lib_fscanf.c
lib_fseek.c
lib_fseeko.c
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
lib_getc.c
lib_getchar.c
lib_getdelim.c fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00
lib_gets_s.c
lib_gets.c
lib_libdtoa.c
lib_libfflush.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libfgets.c
lib_libfilelock.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libflushall.c stdio: need also flush stdio when flushall 2022-07-22 01:46:21 +03:00
lib_libfread.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libfwrite.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libsprintf.c
lib_libstream.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_libvscanf.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
lib_libvsprintf.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
lib_perror.c
lib_printf.c
lib_putc.c
lib_putchar.c
lib_puts.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_rdflush.c libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
lib_remove.c
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_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
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
lib_vdprintf.c
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.c
Make.defs libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00