Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the correct name for IEEE Std 1003.1, 2004 Edition: POSIX.1-2001 or POSIX.1-2004?

I came across two POSIX documents online.

  • http://pubs.opengroup.org/onlinepubs/009695399/ (IEEE Std 1003.1, 2004 Edition)

    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.

  • http://pubs.opengroup.org/onlinepubs/9699919799/ (IEEE Std 1003.1™, 2013 Edition)

    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?

like image 725
Lone Learner Avatar asked Aug 31 '16 15:08

Lone Learner


People also ask

What is POSIX 1?

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.

What does POSIX stand for?

The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems.

What is POSIX format?

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.

What means POSIX compliant?

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.


1 Answers

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.)

like image 177
Phillip Avatar answered Oct 31 '22 09:10

Phillip