On Thu, Mar 27, 2003 at 02:12:54PM -0700, Steve Miller wrote: > MAP_SHARED requires the file to be writeable, you've opened it as read only. changing the source to: fd=open("/dev/video",O_RDWR); doesn't make it works. I always have got the same problem.... When I run it I get "mmap: Invalid argument" and then segfault. What is invalid for mmap? Thank you. -- Non c'è più forza nella normalità, c'è solo monotonia.
Attachment:
pgpWtrZu3AVDg.pgp
Description: PGP signature