OSDN Git Service

06e0c3ac521d49ee686018cf3f3bbd3a81a0e051
[linuxjm/LDP_man-pages.git] / original / man7 / standards.7
1 .\" Copyright (c) 2006, Michael Kerrisk <mtk.manpages@gmail.com>
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
22 .\" %%%LICENSE_END
23 .\"
24 .TH STANDARDS 7 2014-01-15 "Linux" "Linux Programmer's Manual"
25 .SH NAME
26 standards \- C and UNIX Standards
27 .SH DESCRIPTION
28 The CONFORMING TO section that appears in many manual pages identifies
29 various standards to which the documented interface conforms.
30 The following list briefly describes these standards.
31 .TP
32 .B V7
33 Version 7 (also known as Seventh Edition) UNIX,
34 released by AT&T/Bell Labs in 1979.
35 After this point, UNIX systems diverged into two main dialects:
36 BSD and System V.
37 .TP
38 .B 4.2BSD
39 This is an implementation standard defined by the 4.2 release
40 of the
41 .IR "Berkeley Software Distribution",
42 released by the University of California at Berkeley.
43 This was the first Berkeley release that contained a TCP/IP
44 stack and the sockets API.
45 4.2BSD was released in 1983.
46
47 Earlier major BSD releases included
48 .IR 3BSD
49 (1980),
50 .I 4BSD
51 (1980),
52 and
53 .I 4.1BSD
54 (1981).
55 .TP
56 .B 4.3BSD
57 The successor to 4.2BSD, released in 1986.
58 .TP
59 .B 4.4BSD
60 The successor to 4.3BSD, released in 1993.
61 This was the last major Berkeley release.
62 .TP
63 .B System V
64 This is an implementation standard defined by AT&T's milestone 1983
65 release of its commercial System V (five) release.
66 The previous major AT&T release was
67 .IR "System III" ,
68 released in 1981.
69 .TP
70 .B System V release 2 (SVr2)
71 This was the next System V release, made in 1985.
72 The SVr2 was formally described in the
73 .I "System V Interface Definition version 1"
74 .RI ( "SVID 1" )
75 published in 1985.
76 .TP
77 .B System V release 3 (SVr3)
78 This was the successor to SVr2, released in 1986.
79 This release was formally described in the
80 .I "System V Interface Definition version 2"
81 .RI ( "SVID 2" ).
82 .TP
83 .B System V release 4 (SVr4)
84 This was the successor to SVr3, released in 1989.
85 This version of System V is described in the "Programmer's Reference
86 Manual: Operating System API (Intel processors)" (Prentice-Hall
87 1992, ISBN 0-13-951294-2)
88 This release was formally described in the
89 .I "System V Interface Definition version 3"
90 .RI ( "SVID 3" ),
91 and is considered the definitive System V release.
92 .TP
93 .B SVID 4
94 System V Interface Definition version 4, issued in 1995.
95 Available online at
96 .UR http://www.sco.com\:/developers\:/devspecs/
97 .UE .
98 .TP
99 .B C89
100 This was the first C language standard, ratified by ANSI
101 (American National Standards Institute) in 1989
102 .RI ( X3.159-1989 ).
103 Sometimes this is known as
104 .IR "ANSI C" ,
105 but since C99 is also an
106 ANSI standard, this term is ambiguous.
107 This standard was also ratified by
108 ISO (International Standards Organization) in 1990
109 .RI ( "ISO/IEC 9899:1990" ),
110 and is thus occasionally referred to as
111 .IR "ISO C90" .
112 .TP
113 .B C99
114 This revision of the C language standard was ratified by ISO in 1999
115 .RI ( "ISO/IEC 9899:1999" ).
116 Available online at
117 .UR http://www.open-std.org\:/jtc1\:/sc22\:/wg14\:/www\:/standards
118 .UE .
119 .TP
120 .B C11
121 This revision of the C language standard was ratified by ISO in 2011
122 .RI ( "ISO/IEC 9899:2011" ).
123 .TP
124 .B POSIX.1-1990
125 "Portable Operating System Interface for Computing Environments".
126 IEEE 1003.1-1990 part 1, ratified by ISO in 1990
127 .RI ( "ISO/IEC 9945-1:1990" ).
128 The term "POSIX" was coined by Richard Stallman.
129 .TP
130 .B POSIX.2
131 IEEE Std 1003.2-1992,
132 describing commands and utilities, ratified by ISO in 1993
133 .RI ( "ISO/IEC 9945-2:1993" ).
134 .TP
135 .BR POSIX.1b " (formerly known as \fIPOSIX.4\fP)"
136 IEEE Std 1003.1b-1993,
137 describing real-time facilities
138 for portable operating systems, ratified by ISO in 1996
139 .RI ( "ISO/IEC 9945-1:1996" ).
140 .TP
141 .B POSIX.1c
142 IEEE Std 1003.1c-1995, which describes the POSIX threads interfaces.
143 .TP
144 .B POSIX.1d
145 IEEE Std 1003.1c-1999, which describes additional real-time extensions.
146 .TP
147 .B POSIX.1g
148 IEEE Std 1003.1g-2000, which describes networking APIs (including sockets).
149 .TP
150 .B POSIX.1j
151 IEEE Std 1003.1j-2000, which describes advanced real-time extensions.
152 .TP
153 .B POSIX.1-1996
154 A 1996 revision of POSIX.1 which incorporated POSIX.1b and POSIX.1c.
155 .TP
156 .B XPG3
157 Released in 1989, this was the first significant release of the
158 .IR "X/Open Portability Guide" ,
159 produced by the
160 X/Open Company, a multivendor consortium.
161 This multivolume guide was based on the POSIX standards.
162 .TP
163 .B XPG4
164 A revision of the X/Open Portability Guide, released in 1992.
165 .TP
166 .B XPG4v2
167 A 1994 revision of XPG4.
168 This is also referred to as
169 .IR "Spec 1170" ,
170 where 1170 referred to the number of interfaces
171 defined by this standard.
172 .TP
173 .B "SUS (SUSv1)"
174 Single UNIX Specification.
175 This was a repackaging of XPG4v2 and other X/Open standards
176 (X/Open Curses Issue 4 version 2,
177 X/Open Networking Service (XNS) Issue 4).
178 Systems conforming to this standard can be branded
179 .IR "UNIX 95" .
180 .TP
181 .B SUSv2
182 Single UNIX Specification version 2.
183 Sometimes also referred to as
184 .IR XPG5 .
185 This standard appeared in 1997.
186 Systems conforming to this standard can be branded
187 .IR "UNIX 98" .
188 See also
189 .UR http://www.UNIX-systems.org\:/version2/
190 .UE .)
191 .TP
192 .B POSIX.1-2001, SUSv3
193 This was a 2001 revision and consolidation of the
194 POSIX.1, POSIX.2, and SUS standards into a single document,
195 conducted under the auspices of the Austin group
196 .UR http://www.opengroup.org\:/austin/
197 .UE .
198 The standard is available online at
199 .UR http://www.unix-systems.org\:/version3/
200 .UE ,
201 and the interfaces that it describes are also available in the Linux
202 manual pages package under sections 1p and 3p (e.g., "man 3p open").
203
204 The standard defines two levels of conformance:
205 .IR "POSIX conformance" ,
206 which is a baseline set of interfaces required of a conforming system;
207 and
208 .IR "XSI Conformance",
209 which additionally mandates a set of interfaces
210 (the "XSI extension") which are only optional for POSIX conformance.
211 XSI-conformant systems can be branded
212 .IR "UNIX 03" .
213 (XSI conformance constitutes the
214 .I "Single UNIX Specification version 3"
215 .RI ( SUSv3 ).)
216
217 The POSIX.1-2001 document is broken into four parts:
218
219 .BR XBD :
220 Definitions, terms and concepts, header file specifications.
221
222 .BR XSH :
223 Specifications of functions (i.e., system calls and library
224 functions in actual implementations).
225
226 .BR XCU :
227 Specifications of commands and utilities
228 (i.e., the area formerly described by POSIX.2).
229
230 .BR XRAT :
231 Informative text on the other parts of the standard.
232
233 POSIX.1-2001 is aligned with C99, so that all of the
234 library functions standardized in C99 are also
235 standardized in POSIX.1-2001.
236
237 Two Technical Corrigenda (minor fixes and improvements)
238 of the original 2001 standard have occurred:
239 TC1 in 2003 (referred to as
240 .IR POSIX.1-2003 ),
241 and TC2 in 2004 (referred to as
242 .IR POSIX.1-2004 ).
243 .TP
244 .B POSIX.1-2008, SUSv4
245 Work on the next revision of POSIX.1/SUS was completed and
246 ratified in 2008.
247
248 The changes in this revision are not as large as those
249 that occurred for POSIX.1-2001/SUSv3,
250 but a number of new interfaces are added
251 and various details of existing specifications are modified.
252 Many of the interfaces that were optional in
253 POSIX.1-2001 become mandatory in the 2008 revision of the standard.
254 A few interfaces that are present in POSIX.1-2001 are marked
255 as obsolete in POSIX.1-2008, or removed from the standard altogether.
256
257 The revised standard is broken into the same four parts as POSIX.1-2001,
258 and again there are two levels of conformance: the baseline
259 .IR "POSIX Conformance" ,
260 and
261 .IR "XSI Conformance" ,
262 which mandates an additional set of interfaces
263 beyond those in the base specification.
264
265 In general, where the CONFORMING TO section of a manual page
266 lists POSIX.1-2001, it can be assumed that the interface also
267 conforms to POSIX.1-2008, unless otherwise noted.
268
269 Technical Corrigendum 1 (minor fixes and improvements)
270 of this standard was released in 2013
271 (referred to as
272 .IR POSIX.1-2013 ).
273
274 Further information can be found on the Austin group web site,
275 .UR http://www.opengroup.org\:/austin/
276 .UE .
277 .SH SEE ALSO
278 .BR feature_test_macros (7),
279 .BR libc (7),
280 .BR posixoptions (7)
281 .SH COLOPHON
282 This page is part of release 3.67 of the Linux
283 .I man-pages
284 project.
285 A description of the project,
286 information about reporting bugs,
287 and the latest version of this page,
288 can be found at
289 \%http://www.kernel.org/doc/man\-pages/.