Debian Codegraph @

upstream/debian-unstable/man7/standards.7

raw
1 .\" Copyright 2006, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
6 .TH standards 7 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 standards \- C and UNIX Standards
9 .SH DESCRIPTION
10 The STANDARDS section that appears in many manual pages identifies
11 various standards to which the documented interface conforms.
12 The following list briefly describes these standards.
13 .SS Research Unix
14 .TP
15 .B V7
16 Version 7 (also known as Seventh Edition) UNIX,
17 released by AT&T/Bell Labs in 1979.
18 After this point, UNIX systems diverged into two main dialects:
19 BSD and System V.
20 Sources are
21 .UR https:\://www.tuhs.org/\:cgi\-bin/\:utree.pl?file=V7
22 available online
23 .UE .
24 .SS BSD
25 .TP
26 .B 4.2BSD
27 This is an implementation standard defined by the 4.2 release
28 of the
29 .IR "Berkeley Software Distribution",
30 released by the University of California at Berkeley.
31 This was the first Berkeley release that contained a TCP/IP
32 stack and the sockets API.
33 4.2BSD was released in 1983.
34 Sources are
35 .UR https:\://www.tuhs.org/\:cgi\-bin/\:utree.pl?file=4.2BSD
36 available online
37 .UE .
38 .IP
39 Earlier major BSD releases included
40 .I 3BSD
41 (1980),
42 .I 4BSD
43 (1980),
44 and
45 .I 4.1BSD
46 (1981).
47 .TP
48 .B 4.3BSD
49 The successor to 4.2BSD, released in 1986.
50 Sources are
51 .UR https:\://www.tuhs.org/\:cgi\-bin/\:utree.pl?file=4.3BSD
52 available online
53 .UE .
54 .TP
55 .B 4.4BSD
56 The successor to 4.3BSD, released in 1993.
57 This was the last major Berkeley release.
58 Sources are
59 .UR https:\://www.tuhs.org/\:cgi\-bin/\:utree.pl?file=4.4BSD
60 available online
61 .UE .
62 .SS Unix/TS
63 .TP
64 .B Unix/TS 4
65 This was an internal release of Unix
66 that was never released to the public
67 (in which case it would have been called System IV).
68 The previous major AT&T release was
69 .IR "System III" ,
70 released in 1981.
71 .TP
72 .B System V
73 This is an implementation standard defined by AT&T's milestone 1983
74 release of its commercial System V (five) release.
75 .TP
76 .B System V release 2 (SVr2)
77 This was the next System V release, made in 1985.
78 The SVr2 was formally described in the
79 .I "System V Interface Definition Issue 1"
80 .RI ( "SVID 1" )
81 published in 1985.
82 .TP
83 .B System V release 3 (SVr3)
84 This was the successor to SVr2, released in 1986.
85 This release was formally described in the
86 .UR https:\://bitsavers.org/\:pdf/\:att/\:unix/\:SVID/\:System_V_Interface_Definition_Issue_2_Volume_1_1986.pdf
87 .I "System V Interface Definition Issue 2"
88 .RI ( "SVID 2" )
89 .UE .
90 .TP
91 .B System V release 4 (SVr4)
92 This was the successor to SVr3, released in 1989.
93 This version of System V is described in the "Programmer's Reference
94 Manual: Operating System API (Intel processors)" (Prentice-Hall
95 1992, ISBN 0-13-951294-2)
96 This release was formally described in the
97 .UR https:\://archive.org/\:details/\:systemvinterface0001unse/
98 .I "System V Interface Definition Third Edition"
99 .RI ( "SVID 3" )
100 .UE ,
101 and is considered the definitive System V release.
102 .TP
103 .B SVID 4
104 System V Interface Definition version 4, issued in 1995.
105 Available online at
106 .UR http:\://www.sco.com\:/developers\:/devspecs/
107 .UE .
108 .SS Standard C
109 .TP
110 .B K&R
111 This refers to the C language as specified in
112 .I \[lq]The C Programming Language\[rq]
113 [Brian W.\& Kernighan and Dennis M.\& Ritchie;
114 Prentice Hall;
115 1st Ed., 1978].
116 .TP
117 .B C89
118 This was the first C language standard, ratified by ANSI
119 (American National Standards Institute) in 1989
120 .RI ( X3.159-1989 ).
121 Sometimes this is known as
122 .IR "ANSI C" ,
123 but since C99 is also an
124 ANSI standard, this term is ambiguous.
125 It is
126 .UR https:\://nvlpubs.nist.gov/\:nistpubs/\:Legacy/\:FIPS/\:fipspub160.pdf
127 available online
128 .UE .
129 .IP
130 The rationale for the C89 standard is also
131 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:C89Rationale.pdf
132 available online
133 .UE .
134 .IP
135 This standard was also ratified by
136 ISO (International Standards Organization)
137 and IEC (International Electrotechnical Commision)
138 in 1990
139 .RI ( ISO/IEC\~9899:1990 ),
140 and is thus occasionally referred to as
141 .IR ISO\~C90 .
142 .TP
143 .B C94
144 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:tc1.htm
145 Technical Corrigendum 1
146 .UE
147 of C90 was ratified by ISO/IEC in 1994
148 .RI ( ISO/IEC\~9899:1990/Cor1:1994 ).
149 .TP
150 .B C95
151 This amendment of the C language standard was ratified by ISO/IEC in 1995
152 .RI ( ISO/IEC\~9899:1990/Amd1:1995 ).
153 A draft is
154 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n412.pdf
155 available online
156 .UE .
157 .TP
158 .B C96
159 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:tc2.htm
160 Technical Corrigendum 2
161 .UE
162 of C90 was ratified by ISO/IEC in 1996
163 .RI ( ISO/IEC\~9899:1990/Cor2:1996 ).
164 A draft is
165 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n457.pdf
166 available online
167 .UE .
168 .TP
169 .B C99
170 This revision of the C language standard was ratified by ISO/IEC in 1999
171 .RI ( ISO/IEC\~9899:1999 ).
172 .IP
173 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:9899tc1/\:n32071.PDF
174 Technical Corrigendum 1
175 .UE
176 of C99 was ratified by ISO/IEC in 2001
177 .RI ( ISO/IEC\~9899:1999/Cor1:2001 ).
178 .IP
179 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:9899\-1999_cor_2\-2004.pdf
180 Technical Corrigendum 2
181 .UE
182 of C99 was ratified by ISO/IEC in 2004
183 .RI ( ISO/IEC\~9899:1999/Cor2:2004 ).
184 .IP
185 .UR https:\://www.open\-std.org/\:JTC1/\:SC22/\:WG14/\:www/\:docs/\:n1235.pdf
186 Technical Corrigendum 3
187 .UE
188 of C99 was ratified by ISO/IEC in 2007
189 .RI ( ISO/IEC\~9899:1999/Cor3:2007 ).
190 A draft is
191 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n1256.pdf
192 available online
193 .UE .
194 .IP
195 The rationale for the C99 standard is also
196 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:C99RationaleV5.10.pdf
197 available online
198 .UE .
199 .TP
200 .B C11
201 This revision of the C language standard was ratified by ISO/IEC in 2011
202 .RI ( ISO/IEC\~9899:2011 ).
203 A draft is
204 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n1570.pdf
205 available online
206 .UE .
207 .IP
208 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n1606.pdf
209 Technical Corrigendum 1
210 .UE
211 of C11 was ratified by ISO/IEC in 2012
212 .RI ( ISO/IEC\~9899:2011/Cor1:2012 ).
213 .TP
214 .B C17
215 This revision of the C language standard was ratified by ISO/IEC in 2018
216 .RI ( ISO/IEC\~9899:2018 ).
217 A draft is
218 .UR https:\://web.archive.org/\:web/\:20181230041359if_/\:http:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:abq/\:c17_updated_proposed_fdis.pdf
219 available online
220 .UE .
221 .TP
222 .B C23
223 This revision of the C language standard was ratified by ISO/IEC in 2024
224 .RI ( ISO/IEC\~9899:2024 ).
225 A draft is
226 .UR https:\://www.open\-std.org/\:jtc1/\:sc22/\:wg14/\:www/\:docs/\:n3220.pdf
227 available online
228 .UE .
229 .SS POSIX and SUS
230 .TP
231 .B POSIX.1-1988
232 This was the first POSIX standard,
233 ratified by IEEE in 1998
234 .RI ( IEEE\~Std\~1003.1-1988 ).
235 The term "POSIX" was coined by Richard Stallman.
236 It is
237 .UR https:\://nvlpubs.nist.gov/\:nistpubs/\:Legacy/\:FIPS/\:fipspub151\-1.pdf
238 available online
239 .UE .
240 .TP
241 .B POSIX.1-1990
242 Part 1,
243 "Portable Operating System Interface for Computing Environments".
244 Ratified by IEEE in 1990,
245 .RI ( IEEE\~Std\~1003.1-1990 ),
246 and ratified by ISO/IEC in 1990
247 .RI ( ISO/IEC\~9945-1:1990 ).
248 It is
249 .UR https:\://nvlpubs.nist.gov/\:nistpubs/\:Legacy/\:FIPS/\:fipspub151\-2.pdf
250 available online
251 .UE .
252 .TP
253 .B POSIX.2
254 Part 2,
255 which describes commands and utilities.
256 Ratified by IEEE in 1992
257 .RI ( IEEE\~Std\~1003.2-1992 ),
258 and ratified by ISO/IEC in 1993
259 .RI ( ISO/IEC\~9945-2:1993 ).
260 .TP
261 .BR POSIX.1b " (formerly known as \f[I]POSIX.4\f[])"
262 Part 1b,
263 which describes real-time facilities for portable operating systems.
264 Ratified by IEEE in 1993
265 .RI ( IEEE\~Std\~1003.1b-1993 ).
266 .TP
267 .BR POSIX.1c " (formerly known as \f[I]POSIX.4a\f[])"
268 Part 1c,
269 which describes the POSIX threads interfaces.
270 Ratified by IEEE in 1995
271 .RI ( IEEE\~Std\~1003.1c-1995 ).
272 .TP
273 .B POSIX.1d
274 Part 1d,
275 which describes additional real-time extensions.
276 Ratified by IEEE in 1999
277 .RI ( IEEE\~Std\~1003.1d-1999 ).
278 .TP
279 .B POSIX.1g
280 Part 1g,
281 which describes networking APIs (including sockets).
282 Ratified by IEEE in 2000
283 .RI ( IEEE\~Std\~1003.1g-2000 ).
284 .TP
285 .B POSIX.1j
286 Part 1j,
287 which describes advanced real-time extensions.
288 Ratified by IEEE in 2000
289 .RI ( IEEE\~Std\~1003.1j-2000 ).
290 .TP
291 .B POSIX.1-1996
292 A revision of POSIX.1 which incorporated POSIX.1b and POSIX.1c.
293 Ratified by ISO/IEC in 1996
294 .RI ( ISO/IEC\~9945-1:1996 ).
295 .TP
296 .B XPG3
297 Released in 1989, this was the first release of the X/Open
298 Portability Guide to be based on a POSIX standard (POSIX.1-1988).
299 It is also known as
300 .IR Issue\~3 .
301 This multivolume guide was developed by the X/Open Group,
302 a multivendor consortium.
303 .TP
304 .B XPG4
305 A revision of the X/Open Portability Guide, released in 1992.
306 It is also known as
307 .IR Issue\~4 .
308 This revision incorporated POSIX.2.
309 .TP
310 .B XPG4v2
311 A 1994 revision of XPG4.
312 This is also referred to as
313 .IR Spec\~1170 ,
314 where 1170 referred to the number of interfaces
315 defined by this standard.
316 .TP
317 .B SUS\~(SUSv1)
318 Single UNIX Specification.
319 This was a repackaging of XPG4v2 and other X/Open standards
320 (X/Open Curses Issue 4 version 2,
321 X/Open Networking Service (XNS) Issue 4).
322 Systems conforming to this standard can be branded
323 .IR UNIX\~95 .
324 .TP
325 .B SUSv2
326 Single UNIX Specification version 2.
327 Sometimes also referred to as
328 .IR Issue\~5 .
329 This standard appeared in 1997.
330 Systems conforming to this standard can be branded
331 .IR UNIX\~98 .
332 See also
333 .UR http:\://www.unix.org\:/version2/
334 .UE .)
335 .TP
336 .B POSIX.1-2001
337 .TQ
338 .B SUSv3
339 This was a 2001 revision and consolidation of the
340 POSIX.1, POSIX.2, and SUS standards into a single document,
341 conducted under the auspices of the Austin Group
342 .UR http:\://www.opengroup.org\:/austin/
343 .UE .
344 The standard is available online at
345 .UR http:\://www.unix.org\:/version3/
346 .UE .
347 .IP
348 The standard defines two levels of conformance:
349 .IR "POSIX conformance" ,
350 which is a baseline set of interfaces required of a conforming system;
351 and
352 .IR "XSI Conformance",
353 which additionally mandates a set of interfaces
354 (the "XSI extension") which are only optional for POSIX conformance.
355 XSI-conformant systems can be branded
356 .IR UNIX\~03 .
357 .IP
358 The POSIX.1-2001 document is broken into four parts:
359 .IP
360 .BR XBD :
361 Definitions, terms, and concepts, header file specifications.
362 .IP
363 .BR XSH :
364 Specifications of functions (i.e., system calls and library
365 functions in actual implementations).
366 .IP
367 .BR XCU :
368 Specifications of commands and utilities
369 (i.e., the area formerly described by POSIX.2).
370 .IP
371 .BR XRAT :
372 Informative text on the other parts of the standard.
373 .IP
374 POSIX.1-2001 is aligned with C99, so that all of the
375 library functions standardized in C99 are also
376 standardized in POSIX.1-2001.
377 .IP
378 The Single UNIX Specification version 3 (SUSv3) comprises the
379 Base Specifications containing XBD, XSH, XCU, and XRAT as above,
380 plus X/Open Curses Issue 4 version 2 as an extra volume that is
381 not in POSIX.1-2001.
382 .TP
383 .B POSIX.1-2001 2002 edition
384 Technical Corrigendum 1
385 of POSIX.1-2001
386 was ratified by IEEE in 2002
387 .RI ( IEEE\~Std\~1003.1-2001/Cor1-2002 ).
388 .IP
389 This is informally known as
390 .IR POSIX.1-2002 .
391 .TP
392 .B POSIX.1-2001 2004 edition
393 Technical Corrigendum 2
394 of POSIX.1-2001
395 was ratified by IEEE in 2004
396 .RI ( IEEE\~Std\~1003.1-2001/Cor2-2004 ).
397 It is
398 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:009695399/
399 available online
400 .UE .
401 .IP
402 This is informally known as
403 .IR POSIX.1-2004 .
404 .TP
405 .B POSIX.1-2008
406 .TQ
407 .B SUSv4
408 Work on the next revision of POSIX.1/SUS was completed and
409 ratified in 2008.
410 The standard is available online at
411 .UR http:\://www.unix.org\:/version4/
412 .UE ,
413 and also
414 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:9699919799.2008edition/
415 here
416 .UE .
417 .IP
418 The changes in this revision are not as large as those
419 that occurred for POSIX.1-2001/SUSv3,
420 but a number of new interfaces are added
421 and various details of existing specifications are modified.
422 Many of the interfaces that were optional in
423 POSIX.1-2001 become mandatory in the 2008 revision of the standard.
424 A few interfaces that are present in POSIX.1-2001 are marked
425 as obsolete in POSIX.1-2008, or removed from the standard altogether.
426 .IP
427 The revised standard is structured in the same way as its predecessor.
428 The Single UNIX Specification version 4 (SUSv4) comprises the
429 Base Specifications containing XBD, XSH, XCU, and XRAT,
430 plus X/Open Curses Issue 7 as an extra volume that is
431 not in POSIX.1-2008.
432 .IP
433 Again there are two levels of conformance: the baseline
434 .IR "POSIX Conformance" ,
435 and
436 .IR "XSI Conformance" ,
437 which mandates an additional set of interfaces
438 beyond those in the base specification.
439 .IP
440 In general, where the STANDARDS section of a manual page
441 lists POSIX.1-2001, it can be assumed that the interface also
442 conforms to POSIX.1-2008, unless otherwise noted.
443 .IP
444 Further information can be found on the Austin Group web site,
445 .UR http:\://www.opengroup.org\:/austin/
446 .UE .
447 .TP
448 .B POSIX.1-2008 2013 edition
449 Technical Corrigendum 1
450 of POSIX.1-2008
451 was ratified by IEEE in 2013
452 .RI ( IEEE\~Std\~1003.1-2008/Cor1-2013 ).
453 It is
454 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:9699919799.2013edition/
455 available online
456 .UE .
457 .IP
458 This is informally known as
459 .IR POSIX.1-2013 .
460 .TP
461 .B POSIX.1-2008 2016 edition
462 Technical Corrigendum 2
463 of POSIX.1-2008
464 was ratified by IEEE in 2016
465 .RI ( IEEE\~Std\~1003.1-2008/Cor2-2016 ).
466 It is
467 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:9699919799.2016edition/
468 available online
469 .UE .
470 .TP
471 .B SUSv4 2016 edition
472 This is equivalent to POSIX.1-2008 2016 edition,
473 with the addition of the XCurses specification.
474 .TP
475 .B POSIX.1-2017
476 This revision of POSIX is technically identical to
477 POSIX.1-2008 2016 edition.
478 Ratified by IEEE in 2017
479 .RI ( IEEE\~Std\~1003.1-2017 ).
480 It is
481 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:9699919799/
482 available online
483 .UE .
484 .TP
485 .B SUSv4 2018 edition
486 This is equivalent to POSIX.1-2017,
487 with the addition of the XCurses specification.
488 .TP
489 .B POSIX.1-2024
490 .TQ
491 .B SUSv5
492 Work on the next revision of POSIX.1/SUS
493 was completed and ratified by IEEE in 2024
494 .RI ( IEEE\~Std\~1003.1-2024 ).
495 It is
496 .UR https:\://pubs.opengroup.org/\:onlinepubs/\:9799919799/
497 available online
498 .UE .
499 .IP
500 POSIX.1-2024 is aligned with C17,
501 so that all of the library functions standardized in C17
502 are also standardized in POSIX.1-2024.
503 .IP
504 Further information can be found on the
505 .UR http:\://www.opengroup.org/\:austin/
506 Austin Group web site
507 .UE .
508 .P
509 The interfaces documented in POSIX.1/SUS are available as
510 manual pages under sections 0p (header files), 1p (commands),
511 and 3p (functions);
512 thus one can write
513 .IR man\~3p\~open .
514 .SS Other standards
515 .TP
516 .B LFS
517 The Large File Summit specification, completed in 1996.
518 This specification defined mechanisms that allowed 32-bit systems
519 to support the use of large files (i.e., 64-bit file offsets).
520 See
521 .UR https:\://www.opengroup.org\:/platform\:/lfs.html
522 .UE .
523 .SH SEE ALSO
524 .BR getconf (1),
525 .BR confstr (3),
526 .BR pathconf (3),
527 .BR sysconf (3),
528 .BR attributes (7),
529 .BR feature_test_macros (7),
530 .BR libc (7),
531 .BR posixoptions (7),
532 .BR system_data_types (7)