NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: POSIX_VERSION for NetBSD



2009/8/28 Christos Zoulas <christos%astron.com@localhost>:
> In article 
> <515c64960908270240t1417823bg683fc02bd6e3166d%mail.gmail.com@localhost>,
> Channa  <channa.kad%gmail.com@localhost> wrote:
>>Hi,
>>
>>The posix version for NetBSD as defined in the src/sys/sys/unistd.h is
>>
>>#define _POSIX_VERSION          199009L
>>
>>The value of _POSIX_VERSION --> 199009L :
>>Means that the system behavior conforms to the IEEE Std 1003.1 standard and
>>the _POSIX_VERSION value '_POSIX_VERSION==199009L' indicates that the standard
>>was approved in the year 1990
>>
>>Does that mean that the system does not confirm to IEEE Std 1003.1-2001.?
>>
>>Since For implementations conforming to IEEE Std 1003.1-2001, the
>>value shall be 200112L.
>>i.e
>>
>>#define _POSIX_VERSION          200112L
>>
>>
>>Could anyone help me in this regard.
>>
>>Thanks & Regards,
>>Channa
>
> It means that we have not verified that it complies with 1003.1-2001. It
> probably does, or it is close to be so.
>
> christos

Hi,
Thanks for the information.
How do we verify that it complies with 1003.1-2001?
Is there any POSIX conformance test suite available?

I have checked the IEEE 1003.1-2001 standards in the below
link:
http://www.unix.org/single_unix_specification/

It says the System shall support all utilities, functions, and
facilities defined within IEEE Std 1003.1-2001 to get the POSIX
conformance and shall set the symbolic constant _POSIX_VERSION to the
value

If NetBSD closely complies to the above standards is it good to change
the POSIX version
value in src/sys/sys/unistd.h  to 200112L??

Awaiting for your reply.

Thanks & Regards,
Channa


Home | Main Index | Thread Index | Old Index