Re: copy_from_user and copy_to_user example

2009-09-20 Thread SandeepKsinha
Hi Krushnaal, On Fri, Sep 18, 2009 at 4:08 PM, krushnaal pai wrote: > Dear all, > > I wonder if anyone could provide the example for the usage of copy_from_usr > and copy_to_usr including the programs both in kernel space and in user > space. > Since, you have asked for a program which uses thos

copy_from_user and copy_to_user example

2009-09-20 Thread krushnaal pai
Dear all, I wonder if anyone could provide the example for the usage of copy_from_usr and copy_to_usr including the programs both in kernel space and in user space. how to define the memory or buffer where the data is communicated. thanks very much, k