Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Mar 2001 03:30:13 -0800
From:      "Derick J. Fernando" <derick@xenocex.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   RE: Dropping RTS in FreeBSD 4.2
Message-ID:  <3A9E32C5.90603@xenocex.com>

next in thread | raw e-mail | index | archive | help
Hello all,

This is an example of how I would try to drop RTS, I am porting a win32 
seismometer
program to FreeBSD / X11. However this does not seem to work on FreeBSD, 
my cheap
breakout box reports no change.


#include <unistd.h>
#include <termios.h>

int fd;
int status;

ioctl(fd, TIOCMGET, &status);

status &= ~TIOCM_RTS;

ioctl(fd, TIOCMSET, status);




Any ideas, more reliable way to do this? Any docs?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9E32C5.90603>