tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pthread library related
>>>>> On Wed, 18 May 2016 20:31:08 -0700,
Charles Cui <charles.cui1984%gmail.com@localhost> said:
> How about other functions? Does it make sense to follow POSIX standard
> to implement the missing functions in netbsd?
In general, it's not recommended to add a stub function which returns
ENOSYS (i.e. "Function not implemented") unless there is strong reason
to do so.
Because autoconf fails to detect that the function is not really
implemented, and fails to provide alternate implementation that
the autoconf'ed application includes.
And because there are many applications which do not check the
ENOSYS erorr correctly and fails to work.
--
soda
Home |
Main Index |
Thread Index |
Old Index