LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Character device driver with two processes (https://www.linuxquestions.org/questions/linux-newbie-8/character-device-driver-with-two-processes-4175628810/)

misfowl 05-01-2018 07:37 PM

Character device driver with two processes
 
How can i write a char device driver (module) with only two processes using this module? These processes should read and write each other with one buffer through this module. Actually, i do not have problems with module but i have no idea how to implement processes.

Ztcoracat 05-01-2018 08:26 PM

This isn't my area of expertise but this looks like a start-

https://stackoverflow.com/questions/...esses-can-read
https://www.apriorit.com/dev-blog/19...r-for-linux-os

***We start with implementing the ioctl system call...***
https://www.oreilly.com/library/view...5903/ch06.html

-:::- You many want to include what module you are working with and what distribution you are using.-:::-

Good Luck-;)


All times are GMT -5. The time now is 05:29 AM.