The bwtwo interface provides access to monochrome memory frame buffers. It supports the ioctls described in fbio(7I) .
Reading or writing to the frame buffer is not allowed -- you must use the mmap(2) system call to map the board into your address space.