Enable exclusive access mode.
Enable exclusive access mode.

With exclusive access mode, no further open() operations on the terminal
are permitted, except for a process with root priviliges. Non-root
processes will fail with EBUSY. This change will prevent other processes
from accidentally messing up the communication. It also makes the
behaviour similar to Windows, where serial ports are always opened with
exclusive access.

josh-wambua/libdivecomputer,venkateshshukla/libdivecomputer,glance-/libdivecomputer,josh-wambua/libdivecomputer,henrik242/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer,venkateshshukla/libdivecomputer,Poltsi/libdivecomputer-vms