To use the libary for your own applications, you have to include the main header <ezV24.h>#include <ezV24/ezV24.h>To link the shared library to your application, you just have to specify the basename of the library with -lezV24. The whole call could look like this:
gcc -o foo foo.c -lezV24To communicate over the serial device, you have to open and close it. Use v24OpenPort to open the device. The next step is the correct setup of the communication parameters with v24SetParameters. Note that you must have the access rights to do this. After the communication is done, use v24ClosePort to close the port and release the lock.
To send and receive data, there are several pairs of functions available. It is possible to send and receive single bytes with v24Getc and v24Putc. To send an array with data, the functions v24Read and v24Write are the right choose. At last, usage of ASCIIZ strings is possible using v24Gets and v24Puts.
More details and a few snippets of code are shown in the section The Hello-World-Sample.