]> sigrok.org Git - libserialport.git/blobdiff - examples/README
change type of result variables to ssize_t
[libserialport.git] / examples / README
index 3933abc3a77ed225b8eb2456ff650885b145cf96..6c3090cc78dd3c9e862bdcd3093373dd9bb9ff6e 100644 (file)
@@ -4,10 +4,17 @@ The examples currently included are:
 
 list_ports.c - displays a list of ports on the system.
 port_info.c - displays info about a particular port on the system.
+port_config.c - sets and displays configuration settings on a port.
+send_receive.c - loopback test sending & receiving data on 1 or 2 ports.
+await_events.c - awaits receive events on multiple ports simultaneously.
+handle_errors.c - demonstrates handling errors returned from the library.
 
 The programs themselves are completely OS-independent, and require only a
 C compiler and libserialport.
 
+The 'examples.sln' file is a solution file for Microsoft Visual Studio 2019
+which will build libserialport and all of the example programs.
+
 The Makefile in this directory will attempt to build all the examples,
 using 'gcc' to compile them and 'pkg-config' to discover the include
 paths and linker settings needed to build with libserialport. It provides