Waiting for vsync

Hello,

using the framebuffer (dev/fb0): how can I wait for a vsync signal?
http://wiki.gp2x.org/wiki/Writing_to_the_framebuffer_device shows this
for a different device but how can this be achieved with the BB?

Robert

ups, pushed the send button to early. I attach a test program (orig
from http://www.cellperformance.com/public/attachments/fb_info.c)
which says that FBIOGET_VBLANK failed.

Robert

fb_info.c (11.9 KB)