Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When using a serial port, should I use the “cua” or “term” device?

CUA device port serial term
0
Posted

When using a serial port, should I use the “cua” or “term” device?

0

If you are not sure, always use the “cua” device. To simplify, the main difference between the two devices can be seen when using the open system call. When using the “cua” device, the call will always succeed. When using the “term” device the call returns if the “carrier detect” (CD) signal is asserted. If it is not asserted, the call will block until “carrier detect” is asserted.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123