Maybe it's a very simple question and linux had a nice API for it, but i cannot find it.
I am making an aplication that ensures that 1 instande of the application hcidump is running.
So i want something like:
but how do I check if hcidump is already activated?Code:
system("hcidump -w somefile &");