Hi all!

I've modified a standard driver and now I'd like to create a FIFO in
it to communicate / send data to a userland process.

Opening, reading and writing to a FIFO in userland is easy, but I have
no clue how to do this in kernel space. Googling and looking to the
kernel source didn't help.
The only thing I found is "kern_mkfifo" and int mkfifo(struct thread,
struct mkfifo_args);, but no example on how to use them (if that's the
right approach anyway).

To cut a long story short, how can I open a FIFO in kernel space and
write to it, so I can open and read from it in userspace ?

Thanks in advance for any hints!
Best regards,
Hannes.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to