Re: little program, big problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux