> Vito wrote: > > Whi, my capture() don't is able? > > Name: Centroc.c > Centroc.c Type: unspecified type (application/octet-stream) > Encoding: 7bit In "char *cattura(char *map)", *map is mmaped to the driver, but the driver file descriptor is closed before returning. This will delete the memory mapping, and probably cause a segfault when you try to display the image. -justin