Subject: ENOTSUP missing from NetBSD
To: NetBSD Users <netbsd-users@netbsd.org>
From: B. James Phillippe spamblock <bryan-nospam@darkforest.org>
List: netbsd-users
Date: 01/30/2002 12:17:31
Hello,

A co-worker of mine recently noticed that NetBSD does not define ENOTSUP
(though it does define EOPNOTSUPP).  According to a quick net search, it
appears that ENOTSUP and EOPNOTSUPP are actually two different error codes
(Single UNIX Specifiction v2)*.  I'm curious to know what the BSD take on
this is, since otherwise NetBSD seems quite conformant to the spec.

FWIW, Linux does not offer this error code natively, but it does do this in
<bits/errno.h>:

> /* Linux has no ENOTSUP error code.  */
> # define ENOTSUP EOPNOTSUPP

* http://www.opengroup.org/onlinepubs/7908799/xsh/errors.html

thanks,
-bp
--
# bryan at darkforest dot org
# Software Engineer