| FLASH(4) | Device Drivers Manual | FLASH(4) | 
flash —
#include <sys/flash.h>
flash driver provides a device-independent interface
  for using flash memory.
The following ioctl(2) operations are supported on /dev/flash:
FLASH_BLOCK_ISBAD
    (struct flash_badblock_params)FLASH_BLOCK_MARKBAD
    (struct flash_badblock_params)FLASH_DUMP
    (struct flash_dump_params)FLASH_ERASE_BLOCK
    (struct flash_erase_params)FLASH_GET_INFO
    (struct flash_info_params)| January 21, 2010 | NetBSD 10.0 |