nuttx/drivers/note
yukangzhi b50c5f6638 note/noteram: add FIONREAD ioctl to report unread buffer size
Add handling for the FIONREAD ioctl in noteram_ioctl to return the
number of unread bytes in the circular note buffer (noteram_unread_length()).
Validate the argument pointer and return -EINVAL if it is NULL.

Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>
2026-01-24 23:32:57 +08:00
..
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
Kconfig note: supports specifying the section where the noteram buffer is located 2024-10-13 14:05:50 +08:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
note_driver.c driver/note: Fix compilation error when CONFIG_SYSLOG_TO_SCHED_NOTE=y 2026-01-23 07:48:08 -03:00
note_initialize.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
notectl_driver.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
notelog_driver.c spelling: fix spelling typo premption -> preemption 2024-11-25 22:05:05 +08:00
noteram_driver.c note/noteram: add FIONREAD ioctl to report unread buffer size 2026-01-24 23:32:57 +08:00
noterpmsg.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
noterpmsg_driver.c sched/spin_lock: rename raw_spin_lock to spin_lock_notrace 2025-02-13 20:48:15 +08:00
noterpmsg_server.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
notesnap_driver.c arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
notestream_driver.c note/notestream: Call lib_fileoutstream_open in notefile_register 2025-06-17 20:58:13 +08:00