Re: Linux should define ENOTSUP

From: Andreas Schwab
Date: Thu Dec 07 2006 - 09:30:58 EST


Theodore Tso <tytso@xxxxxxx> writes:

> On Thu, Dec 07, 2006 at 02:59:48PM +0100, Andreas Schwab wrote:
>> Theodore Tso <tytso@xxxxxxx> writes:
>>
>> > Can you please quote chapter and verse (in POSIX) where it states that
>> > ENOTSUP and EOPNOTSUP have to be numerically distinct?
>>
>> <http://www.opengroup.org/onlinepubs/009695399/basedefs/errno.h.html>
>> "Their values shall be unique except as noted below."
>> (And there is no exception for ENOTSUP/EOPNOTSUP yet.)
>
> Ah, but you're quoting from SuS, not POSIX. (Yes, I'm splitting
> hairs, but that's what standards are all about. :-)

The quoted sentence is not shaded as an XSI extension, thus it is part of
POSIX-1:2001.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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/