This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Function "scanf" in Linux
- To: gcc-help at gcc dot gnu dot org
- Subject: Re: Function "scanf" in Linux
- From: Claudio Bley <bley at cs dot uni-magdeburg dot de>
- Date: Thu, 23 Aug 2001 16:29:37 -0400
- References: <INAOPOOIEIMGFAAA@angelfire.com>
>>>>> " " == Krisztian Kadar <cristianc@angelfire.com> writes:
> Hello! I got the following strange behavior when I was running
> my program which used the scanf function in order to type in
> data using the keybord. At execution the program run over the
> function scanf as if it had not been there so it did not wait
> for the keybord. after running it under the gdb debbuger it
> behaved normaly so the program stopped at scanf and waited for
> typing from keybord.
> Does anyone know why the program did not stop at function scanf
> in the first case ?
> Thanx in advance Krisztian
It works very well on my system, please post a small, compilable
example program which shows the suspicious behavior. Although I doubt
that is an issue with gcc.
Claudio