|
lug-bg: getting key in C program
- Subject: lug-bg: getting key in C program
- From: emotantiloff@xxxxxxxxxxx (Emil Tantiloff)
- Date: Tue, 11 Jul 2000 06:07:36 PDT
Hi-te,
Ot izwestno wreme se opitwam da napisha programa na C, koiato da chete char
ot stdin, no bez da se nalaga da natiskash Enter sled twa.
S getchar() ne stawa - iawno pri Linux-a whoda se buferira - opitwah se da
mahna bufera s setvbuf() i si poigrah malko s termios.h -> pone taka mi
podskazaha w edno irc. No nishto za sega - she sam blagodaren ako niakoj
znae da mi help-ne.
Tnx predwaritelno
Emo
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|