lkml.org 
[lkml]   [2005]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Use enum to declare errno values
Date
moreau francis <francis_moreau2000@yahoo.fr> writes:

> I'm just wondering why not declaring errno values using enumaration ? It is
> just more convenient when debuging the kernel.

The C standard says that errno values are macros that expand to
integer constant expressions. This is important for userspace,
if not for the kernel.
--
"Then, I came to my senses, and slunk away, hoping no one overheard my
thinking."
--Steve McAndrewSmith in the Monastery

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-24 18:21    [from the cache]
©2003-2011 Jasper Spaans