How to draw the graph in framebuffer using c language..?
i am new to this linux framebuffer so do anybody guide me to draw the line-graph in framebuffer. And i have the code to draw graph in turbo c but now in linux. So please help me out. Thank You, Rahul Use open() on the right file in /dev (eg. /dev/fb0 ), then use mmap() to map it into memory. Manpages will help for these syscalls if you do not know how to use them. Then there are some structures and constants for some ioctl() s in <linux/fb.h> . Like many kernel headers, you can learn a lot simply browsing the file. Particularly interesting is the ioctl FBIOGET_VSCREENINFO with struct fb_var