walnux/include/nuttx/fs
YAMAMOTO Takashi 30ad31e9d7 uio api tweaks
* Make readv/writev implementations update struct uio
  This can simplify partial result handling.

* change the error number on the overflow from EOVERFLOW to EINVAL
  to match NetBSD

* add a commented out uio_offset field. I used "#if 0" here as
  C comments can't nest.

* add a few helper functions

Note on uio_copyfrom/uio_copyto:
although i'm not quite happy with the "offset" functionality,
it's necessary to simplify the adaptation of some drivers like
drivers/serial/serial.c, which (ab)uses the user-supplied buffer
as a line-buffer.
2025-01-14 20:18:21 +08:00
..
automount.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fat.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fs.h uio api tweaks 2025-01-14 20:18:21 +08:00
hostfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ioctl.h fs: Fix mtd/sector512.c:554:19: error: incomplete definition of type 'struct partition_info_s' 2024-11-03 21:08:50 +08:00
loop.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
loopmtd.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
nfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
nxffs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
partition.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
procfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
smart.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
uio.h uio api tweaks 2025-01-14 20:18:21 +08:00
userfs.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00