Each device in Linux word is linked to a file into the /dev directory. Precisely, the video devices usually are located into the /dev/v4l folder. In the folder you should find symbolic links that point to the /dev/video0 (the real file associated with the physical device file).
If you need to access to the buffer of the cam, you just need to open the file and start reading.