The library can be opened via
int fd = ArwvmeOpen(int module_nr);Due to the possibility of using many PCIADAs, you have to support an index (the module number) of the VMEMM. If a module with this number is found and this process does not own this crate already, open() returns a valid fd, which is needed by all subsequent library calls, to identify your connection. In the case of error, open returns -1 and set errno to:
The connection to the device can be closed via
int ArwvmeShutdown(int fd);which calls close(fd) and exists only for symmetry.