Accessing parport device (/dev/parport0) in multiple application
I am trying to open and access /dev/parport0 using open and ioctl calls my program works fine for one application.
But when i run the second instance of same program it blocks in open. even if i use O_RDONLY| O_NONBLOCK | O_NOCTTY flags with open it blocks.
is parallel port acess possible in exclusive mode only.?
Any help is greatly appreciated.
Thanks in advance.