I came across two POSIX documents online.
Abstract: The 2004 edition incorporates Technical Corrigendum Number 1 and Technical Corrigendum 2 addressing problems discovered since the approval of the 2001 edition. These are mainly due to resolving integration issues raised by the merger of the Base documents.
Abstract: POSIX.1-2008 is simultaneously IEEE Std 1003.1™-2008 and The Open Group Technical Standard Base Specifications, Issue 7. This 2013 Edition includes IEEE Std 1003.1-2008/Cor 1-2013 incorporated into IEEE Std 1003.1-2008 (the base document). The 2013 edition incorporates Technical Corrigendum 1 addressing problems discovered since the approval of the 2008 edition.
I want to know whether the first document is known as POSIX.1-2001 or POSIX.1-2004.
The Wikipedia article on POSIX mentions the first one as POSIX.1-2004. But why? The base document of the first one is 2001 edition. So shouldn't it still be called POSIX.1-2001? The 2004 edition only adds TC1 and TC2 to the base document.
For example, see the second one. Although it is 2013 edition but since the base document is 2008 edition, it is called POSIX.1-2008. Then why is the first one not called POSIX.1-2001?
For example, POSIX. 1 was the standard for an application programming interface in the C language, and POSIX. 2 was the standard shell and utility interface for the OS. These standards were officially named IEEE Std 1003.1 and IEEE Std 1003.2, respectively.
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems.
POSIXct stores date and time in seconds with the number of seconds beginning at 1 January 1970. Negative numbers are used to store dates prior to 1970. Thus, the POSIXct format stores each date and time a single value in units of seconds. Storing the data this way, optimizes use in data.
Being POSIX-compliant for an OS means that it supports those standards (e.g., APIs), and thus can either natively run UNIX programs, or at least porting an application from UNIX to the target OS is easy/easier than if it did not support POSIX.
From standards(7)
:
[POSIX.1-2001] was a 2001 revision and consolidation of the POSIX.1, POSIX.2, and SUS standards into a single document, conducted under the auspices of the Austin Group. [...] Two Technical Corrigenda (minor fixes and improvements) of the original 2001 standard have occurred: TC1 in 2003 (also known as POSIX.1-2003), and TC2 in 2004 (also known as POSIX.1-2004).
That is, POSIX.1-2001 TC2 and POSIX.1-2004 are both correct names.
Referring to the standard as POSIX.1-2001, without specifying the TC level, might be misleading, because it is unclear whether the latest or original version is meant. (It is noteworthy though that technical corrigenda are intended for clarification of ambiguities and not for major revisions of a standard. So unless the context implies that someone refers to the original version, the latest one will probably be meant.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With