Files
rtems/cpukit/libblock
Kinsey Moore 73918bc788 cpukit/libblock: Close all valid FDs
This is intended to close any valid FDs that were opened, but 0 is also
a valid FD. This change ensures that a FD of 0 is also closed properly.

Coverity CID 1467408 (original)

Coverity CID 1616151 (followup)

off_by_one: Testing whether handle fd is strictly greater than zero is
suspicious. fd leaks when it is zero.
2024-08-12 13:21:09 -05:00
..
2024-08-12 13:21:09 -05:00

libblock

This directory contains the block device (HDD, CDROMs, etc) support code. It includes:

  • block device driver interface
  • generic open/close/read/write/ioctl primitives for block device drivers
  • disk I/O buffering
  • logical disk support
  • RAM disk block device driver

Victor V. Vengerov, vvv@oktet.ru November, 7 2001