Hi…
I am porting a few programs from QNX to Linux (go figure), and I wonder
if you know what is the equivalent of Nto’s tcischars in Linux? I need
to know how many bytes are in the serial port so that I can go and read
them.
Thanks…
Miguel
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
Not sure about a direct equivalent for tcischars, but couldn’t you make
the port non blocking and use select or poll?
Miguel Simon <simon@ou.edu> wrote:
Hi…
I am porting a few programs from QNX to Linux (go figure), and I wonder
if you know what is the equivalent of Nto’s tcischars in Linux? I need
to know how many bytes are in the serial port so that I can go and read
them.
Thanks…
Miguel
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
–
cburgess@qnx.com
ioctl with request FIONREAD might be available.
Colin Burgess wrote:
Not sure about a direct equivalent for tcischars, but couldn’t you make
the port non blocking and use select or poll?
Miguel Simon <> simon@ou.edu> > wrote:
Hi…
I am porting a few programs from QNX to Linux (go figure), and I wonder
if you know what is the equivalent of Nto’s tcischars in Linux? I need
to know how many bytes are in the serial port so that I can go and read
them.
Thanks…
Miguel
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
–
cburgess@qnx.com