This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
quetions about tcgetattr()
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] quetions about tcgetattr()
- From: li hui <lhbyron at yahoo dot com>
- Date: Sat, 29 Sep 2001 00:49:30 -0700 (PDT)
I had writen a short program. I use function
cyg_io_lookup("dev/tty0",handle) to get the device
handle, and then i use function
tcgetattr(handle,&termios) to get the runtime
parametres, but it is failed. I was puzzled by this
problem!
I really get the device handle successfully, why i
can't get the device tuntime parameters by using
tcgetattr() funtion?
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com