I am trying to implement ioctls with a network driver. However I am
confused as to where the driver is. In order to find the file descriptor
of a character devices one simply uses
file =fopen("dev/foo","r");
fd=fileno(file);
and
ioctl(fd,cmd,arg);
but the network interface doesn't appear
Quoting Michael Edward Christman ([EMAIL PROTECTED]):
> I am modifying a current driver inoder to control it by using read/writes.
> I am trying to implement the memcpy_tofs/memcpy_fromfs. My question is
> how do I find the pointer to the user space.
My previous reply assumed that you knew that a
On Fri, 30 Jul 1999, Michael Edward Christman wrote:
> I am trying to implement the memcpy_tofs/memcpy_fromfs. My question is
> how do I find the pointer to the user space. I have tried to use fopen()
> etc. but there are conflicts when I try to include "stdio.h". As this is
You can't use fope
I am modifying a current driver inoder to control it by using read/writes.
I am trying to implement the memcpy_tofs/memcpy_fromfs. My question is
how do I find the pointer to the user space. I have tried to use fopen()
etc. but there are conflicts when I try to include "stdio.h". As this is
a pr
Quoting Michael Edward Christman ([EMAIL PROTECTED]):
> I'm trying to write between the application level and the kernel. I am
> using version 2.0.34 and am attempting to use memcpy_tofs and
> memcpy_fromfs, but am having some trouble. If I use these functions in
> the application level, what do
I'm trying to write between the application level and the kernel. I am
using version 2.0.34 and am attempting to use memcpy_tofs and
memcpy_fromfs, but am having some trouble. If I use these functions in
the application level, what do I use for the *to and *from variables. I
assume that you can
6 matches
Mail list logo