yeah i am opening file with O_DIERCT and reading it in userspace.
But it is having problem when buffer where i am trying to read is a device that is mapped into the process address space.
On the other hand if i create a buffer by malloc then read function works.
-manisha
On 7/5/06, Daniel Bonekeeper <thehazard@xxxxxxxxx> wrote:
Manisha, are you working on kernel or userspace mode ?
You sounded like you're trying this in userspace, so maybe
linux-c-programming is the best place for that question.
--
What this world needs is a good five-dollar plasma weapon.