|
how to check that any /dev/ device file in use
Hi,
I want to know that how can i check that any say /dev/lp0 or /dev/dsp is in use by any other program? So that i cannot use it in my program? I mean i want to have check condition that check whether some other process is accessing that device file
|