H
hugo27
hugo 27, Oct 9, 2004
Ref Docs: c.l.c FAQ article 12.26 .
www.digitalmars.com sitemap.stdio.fflush
Reading these Docs I understand that fflush does not
summarily destroy or discard the flushed data.
But it is not clear, in the case of fflush(stdin),
where stdin is default C keyboard buffer, what
actually becomes of the data.
Is there a way to capture it?
fflush( ) returns an int as status report, so one
cannot assign fflush's return to char str[20], for
insatance. Does this function take a second argument?
like fflush(stdin, str);
?
hugo
Ref Docs: c.l.c FAQ article 12.26 .
www.digitalmars.com sitemap.stdio.fflush
Reading these Docs I understand that fflush does not
summarily destroy or discard the flushed data.
But it is not clear, in the case of fflush(stdin),
where stdin is default C keyboard buffer, what
actually becomes of the data.
Is there a way to capture it?
fflush( ) returns an int as status report, so one
cannot assign fflush's return to char str[20], for
insatance. Does this function take a second argument?
like fflush(stdin, str);
?
hugo