]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/fg_serial.hxx
Added an FGIOChannel::writestring().
[flightgear.git] / src / Network / fg_serial.hxx
index ba88881136be9537f6ab87afcf5fcaf0e6735b7b..80afd0131b27db596fbbb94ae57bb501413e3a52 100644 (file)
@@ -70,9 +70,12 @@ public:
     // read a line of data, length is max size of input buffer
     int readline( char *buf, int length );
 
-    // write data to a file
+    // write data to port
     int write( char *buf, int length );
 
+    // write null terminated string to port
+    int writestring( char *str );
+
     // close port
     bool close();