Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_flowchk()</b> - check output flow control http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_flowchk() - check output flow control

   cFlow := tp_flowchk(nPort)

   nPort       Serial port number.

   cFlow       Output flow control state string.

   Checks whether flow control and handshaking currently permit output
   to the specified port.  Returns an empty string if output is enabled.
   If output is disabled, returns a string consisting of one or more of
   the following characters:

       "D" if waiting for DSR.
       "C" if waiting for CTS.
       "K" if waiting for DCD.
       "X" if waiting for XON.

   Example:

       if "X" $ tp_flowchk(1)          // Stopped by XOFF?
           tp_flowon(1)                // Yes - override it.
       endif

See Also: tp_hshk() tp_mstat()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson