1 *****************************************************************************
4 *****************************************************************************
9 This library is an adapter to translate the calls from the new library
10 to the old library in PPC environment.
16 The API is, of course, the same of the new one for GNU/Linux. It is
17 described and there are some tips about how to use it, in the following
20 --> int vmod16a2_get_handle(int lun)
21 Originally, this function open the corresponding file and translates
22 from logical unit number to file descriptor.
23 It's unnecessary with dioaiolib, so only checks that the lun is
24 between the right values.
26 --> int vmod16a2_close(int fd)
27 Originally, this function closes the file corresponding of the given
28 file descriptor. With dioaiolib, it's unnecessary and it returns 0 always.
30 --> int vmod16a2_convert(int fd, int channel, int datum)
31 It writes a value to the desired channel.