Description-
Turns the DTR signal off.
Syntax-
stat = DtrOff(port);
On Entry-
int port;
Port previously opened with InitializePort() or OpenComPort().
On Exit-
int stat;
-1 If port was not initialized.
See Also-
DtrOn()
RtsOff()
RtsOn()
Example-
#include “comm.h”
int port=0;
int stat;
if ((stat = DtrOff(port)) == -1)
{
printf(“Port not initialized\n”);
/* Take remedial action */
}