How to use TTY from an application

来自百问网嵌入式Linux wiki