Messages in this thread | | | From | Ben Pfaff <> | Subject | Re: Use enum to declare errno values | Date | Thu, 24 Nov 2005 09:11:38 -0800 |
| |
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/
| |