the use of FBdriver

the use of  FBdriver

first open a device file,open("/dev/fb0",O_RDWR)

then make a vinfo,ioctl(*p,FBIOGET_VSCREENINFO,&vinfo)

then get the  vinfo's size to a buffer;

then,mmap the buffer

then,memset the value

then,munmap

then,close the file

the whole step is all .

posted on 2010-11-05 09:27  呵呵,呵呵  阅读(209)  评论(0编辑  收藏  举报

导航