Re: How do I monitor the serial CTS line via C programmatically?

2003-01-16 Thread Giorgos Keramidas
On 2003-01-16 15:44, Paul Hamilton <[EMAIL PROTECTED]> wrote: > Thanks Giorgos! > > I needed to know the function used to access the Serial ports under FreeBSD. > Your program compiles, but generates the following error msg when run: > > test_prog: ioctl: Inappropriate ioctl for device > > Thanks t

RE: How do I monitor the serial CTS line via C programmatically?

2003-01-15 Thread Paul Hamilton
} Brilliant!! :-) Thanks for that! Cheers, Paul Hamilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Giorgos Keramidas Sent: Wednesday, 15 January 2003 7:21 PM To: Paul Hamilton Cc: [EMAIL PROTECTED] Subject: Re: How do I monitor the serial

Re: How do I monitor the serial CTS line via C programmatically?

2003-01-15 Thread Giorgos Keramidas
On 2003-01-15 18:26, [EMAIL PROTECTED] (Paul Hamilton) wrote: > I have been trying to monitor the serial CTS line. I would like to > log the fact that the CTS has changed state (active/non-active). > > I have been trying to adapt some Linux programs, but am having > problems with adapting the POSI