Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Linux for the operation of the terminal IO

IO terminal to operate under UNIX using tcsetattr (fd, : :) fd is STDIN_FILENO, Linux counterparts what ah?

I would like Linux to operate the terminal IO, know there is Unix tcsetattr function, the corresponding Wenjianmiaoshufu is STDIN_FILENO, not STDIN_FILENO in Linux, then using stdin tcsetattr Call return -1, ask how we should operate.

I IO operate the terminal is designed to shield input, keyboard input is so ineffective, it should be how do? Thank you

Linux for the operation of the terminal IO

Why not STDIN_FILENO?

Linux for the operation of the terminal IO

`STDIN_FILENO 'Undeclared (first use in this function)

Linux for the operation of the terminal IO

It was your problem is not that there is no STDIN_FILENO.
You can really trip on the strange os problems, find out how to do their own problems?
More /usr/include/unistd.h | grep STDIN_FILENO
See.

You can refer to the "high-level programming environment for Unix", about 11 bars, devoted to the terminal residues.

Linux for the operation of the terminal IO

I was reading this book, it did not bring, however, to see more of an effort to space, many do not understand that we must help solve this problem, using tcflow on the list, the importation of history.

Linux for the operation of the terminal IO

There was such a message, see



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com