[BUG] sandbox: './u-boot -l ' fails
Wolfgang Denk
wd at denx.de
Tue Sep 29 13:12:25 CEST 2020
Dear Heinrich,
In message <cab32aa2-0423-c966-47e1-a6f59411b0d1 at gmx.de> you wrote:
>
> As we always try to use the same definition in U-Boot as in glibc we
> should really replace getc() by another symbol, e.g. chget() so that we
> avoid confusion.
We should not invent any new names when there are existing good
alterntives.
Why not use getchar()?
Quote fgetc(3) man page:
...
int getchar(void);
...
getchar() is equivalent to getc(stdin).
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I saw Susie sitting in a shoe shine shop. Where she sits she shines,
and where she shines she sits.
More information about the U-Boot
mailing list