[En-Nut-Discussion] Nut/OS finally moving to C99 types
Harald Kipp
harald.kipp at egnite.de
Thu Apr 17 11:34:41 CEST 2008
Thiago A. Corrêa wrote:
> IMHO, we should consider moving return types for many calls to
> bool (_Bool) instead. Makes the code the most readable.
IMHO, this is too C++-ish. There are several discussion about using bool
with C. My opinion is, that it is not needed. Most C standard routines
return 0 on success and -1 on errors.
Harald
More information about the En-Nut-Discussion
mailing list