Re: Use enum to declare errno values
From: Paul Jackson
Date: Thu Nov 24 2005 - 02:30:58 EST
If errno's were an enum type, what would be the type
of the return value of a variety of kernel routines
that now return an int, returning negative errno's on
error and zero or positive values on success?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/