Having a network of lets say 10 devices in RS-485, connected to the linux PC with a RS-485 to USB Converter.
Already there is a C program interacting with the serial converter at /dev/ttyUSB0.
My question is, What would happen if 2 or more programs interact with the same /dev/ttyUSB0?
Will Linux automatically lock /dev/ttyUSB so only one program uses it?