nuttx/include/nuttx
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
..
1wire include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
analog Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
audio Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
binfmt Fixed non-UTF8 characters. 2022-09-28 09:38:55 +08:00
can Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
clk nuttx: unify FAR attribute usage across the code 2022-04-04 21:32:58 +08:00
contactless
crypto include/nuttx/crypto: include sys/types.h insted of stdint.h 2022-05-13 10:48:42 +08:00
drivers Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
eeprom include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
efuse
fs libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
himem include: himem: Add Apache license to files 2022-04-20 21:05:45 +08:00
i2c Added I2C Slave to RP2040 2022-07-16 01:56:52 +08:00
input input/keyboard: Make each instance could have a different buffer size 2022-03-21 09:03:05 +02:00
ioexpander ioexpander: Fix typos in comments 2022-08-15 10:25:11 +08:00
lcd Framebuffer's callback buffer starts from the area being drawn. 2022-08-13 20:36:45 +08:00
leds Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
lib libc/stdio: Add stdio file locking functions 2022-10-22 23:34:45 +08:00
math
mbox
mm libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
modem drivers: modem: update altair modem 2022-10-22 09:00:32 +08:00
motor Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
mtd Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
net drivers: modem: update altair modem 2022-10-22 09:00:32 +08:00
note note/sysview: add Segger System View support 2022-01-29 17:26:04 +08:00
nx Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
power Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
rc Replece clock_gettime(CLOCK_MONOTONIC) with clock_systime_timespec 2022-02-24 01:06:36 +08:00
rf include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
rptun rptun: add ns_match callback to resolve rptun deadlock 2022-07-27 20:36:51 +08:00
sensors sensors/qencoder: add QEIOC_GETINDEX ioctl 2022-09-04 11:08:45 +08:00
serial Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
spi Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
syslog driver/ramlog: set CONFIG_SYSLOG_DEVPATH to /dev/kmsg when enbale ramglog 2022-07-21 23:40:56 +08:00
timers arch_alarm: adjust oneshot/arch_alarm to support tick 2022-10-12 11:55:46 +08:00
usb Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
video vncserver: Correct rfb_keyevent_s definition 2022-07-11 14:11:43 +08:00
wireless drivers: modem: update altair modem 2022-10-22 09:00:32 +08:00
.gitignore
addrenv.h UMM: Implement getter for address environment heap start vaddr 2022-04-29 23:13:16 +08:00
allsyms.h libc/allsyms: Load all symbols for debugging 2021-12-13 08:31:13 -06:00
arch.h sched: use tick count for sched timer expiration 2022-10-12 11:55:46 +08:00
ascii.h
atexit.h libc: Implement exit, atexit, on_exit and cxa_exit on the user side 2022-05-25 15:28:43 +08:00
board.h boards/boardctl:common boardctl to read reset cause. 2022-03-30 09:59:10 +03:00
cache.h arch:cache: add lock feature for cache 2021-10-22 13:31:32 -03:00
can.h include/nuttx/can.h: make error definitions compatible with Linux 2022-10-21 18:47:29 +08:00
cancelpt.h
clock.h sched: use tick count for sched timer expiration 2022-10-12 11:55:46 +08:00
compiler.h compiler.h: add MSVC(Microsoft Visual C++)-specific definitions 2022-09-26 04:40:34 +08:00
crc8.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc16.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc32.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
crc64.h libc/crc: Add full suffix to avoid the the penitential symbol collision 2022-08-29 18:06:53 +02:00
elf.h binfmt/elf: add bare metal coredump support 2021-11-23 20:48:00 -06:00
environ.h
envpath.h
init.h boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT 2022-10-16 19:02:44 +02:00
ipcc.h stm32wl5: fix unbuffered mode and other possible bugs 2022-08-18 11:46:38 +08:00
irq.h SMP: fix crash when switch to new task which is still running 2022-09-17 17:37:47 +09:00
kmalloc.h kmalloc.h: Add kmm_heapmember for !CONFIG_MM_KERNEL_HEAP case 2022-05-20 21:16:42 +08:00
kthread.h include: Declare nxtask_delete function. 2022-07-14 10:44:26 +03:00
lirc.h
list.h list.h: Add local temp variable to avoid the double evaluation 2022-10-06 08:29:39 +02:00
mmcsd.h drivers/mmcsd: Add RPMB ioctl 2022-01-05 11:23:27 -03:00
module.h
mqueue.h sched/mqueue: decoupling condition member to common prologue 2022-10-22 12:58:11 +08:00
mutex.h libc/semaphore:sem_init change defult protocol 2022-10-22 14:50:48 +08:00
nuttx.h
page.h
pgalloc.h
progmem.h progmem: eliminate PROGMEM_ERASESTATE configuration option 2022-03-22 10:01:41 -03:00
pthread.h libc/tls: Make tls_get_info as the pulibc function instead up_tls_info 2022-06-03 23:56:50 +03:00
queue.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
random.h include: Haltian Ltd: update licenses to Apache 2021-11-15 06:49:32 -06:00
sched_note.h sched: Optimize sched_note_begin/end 2022-09-27 21:32:35 +08:00
sched.h sched/msgq: add support of System V message queue 2022-10-22 12:58:11 +08:00
scsi.h
sdio.h mmcsd: Add FAR to the pointer argument 2022-05-13 15:41:27 +03:00
semaphore.h sched: semaphore wait list optimize 2022-09-28 18:08:37 +08:00
signal.h
spawn.h
spinlock.h netdev: fix visual studio Compiler Error C2016 2022-08-17 21:38:30 +08:00
streams.h libc/blockstream: add block out stream backend 2022-04-18 19:21:22 +03:00
symtab.h
time.h
tls.h Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
tree.h
userspace.h
vt100.h
wdog.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
wqueue.h libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
zoneinfo.h