Re: Serial ports programming

1999-05-28 Thread Max Gotlib
On Thu, 27 May 1999, Chuck Robey wrote: > On Thu, 27 May 1999, Max Gotlib wrote: > > > Hi! > > > > Some days ago I've faced with the following problem: > > I need some kind of action (while coding user space > > program actively handling the serial port) to get > > sure all the bytes I've wrote

Re: Serial ports programming

1999-05-28 Thread Max Gotlib
On Thu, 27 May 1999, Louis A. Mamakos wrote: > > > Hi! > > > > > > Some days ago I've faced with the following problem: > > > I need some kind of action (while coding user space > > > program actively handling the serial port) to get > > > sure all the bytes I've wrote to it are _transmitted_. >

Re: Serial ports programming

1999-05-27 Thread Louis A. Mamakos
> > Hi! > > > > Some days ago I've faced with the following problem: > > I need some kind of action (while coding user space > > program actively handling the serial port) to get > > sure all the bytes I've wrote to it are _transmitted_. > > I know about "ioctl(fd, TIOCDRAIN)", but this ioctl > >

Re: Serial ports programming

1999-05-27 Thread Mike Smith
> Hi! > > Some days ago I've faced with the following problem: > I need some kind of action (while coding user space > program actively handling the serial port) to get > sure all the bytes I've wrote to it are _transmitted_. > I know about "ioctl(fd, TIOCDRAIN)", but this ioctl > is accomplished

Re: Serial ports programming

1999-05-27 Thread Chuck Robey
On Thu, 27 May 1999, Max Gotlib wrote: > Hi! > > Some days ago I've faced with the following problem: > I need some kind of action (while coding user space > program actively handling the serial port) to get > sure all the bytes I've wrote to it are _transmitted_. > I know about "ioctl(fd, TIOCDR

Serial ports programming

1999-05-26 Thread Max Gotlib
Hi! Some days ago I've faced with the following problem: I need some kind of action (while coding user space program actively handling the serial port) to get sure all the bytes I've wrote to it are _transmitted_. I know about "ioctl(fd, TIOCDRAIN)", but this ioctl is accomplished with tty buffers