Single U
An EXTENDED DESCRIPTION will be used if the utility has a particularly long description; for example, if it supports its own language ( awk), or provides a considerable number of subcommands ( mailx). This layout, while similar to the manual page or “man” page format shipped with most UNIX systems, offers a more detailed view of the utility’s description. Each reference page in XCU has a common layout of sections describing the interface. The format specifier contains the format string a programmer might use to write the data. The programmatic interfaces that manipulate symbolic links (or symlinks) are all well defined in XSH and XCU, and symlink concepts with respect to issues like pathname resolution are discussed in XBD, Chapter 4, General Concepts.
The signal() function defined by the ISO C standard has shortcomings that make it unreliable for many application uses on some implementations. Each interface reference page lists in the ERRORS section possible error returns that may be tested either in errno or in the function return value upon the unsuccessful completion of a function call. All identifiers defined in the Single UNIX Specification appear in the headers described in XBD, Chapter 13, Headers (with the exception of environ). In the first case (feature test macro _XOPEN_SOURCE defined by the application), the application is announcing to the implementation its desire to have certain symbols exposed in standard headers.
The shell command language is defined in its entirety in XCU, Chapter 2, Shell Command Language. The following introductions to these topics include references and additional explanations to orient an application developer with the information presented in XCU. The RATIONALE sections include historical information about an interface and why features were included or discarded in the definition.
The ENVIRONMENT VARIABLES section of a utility’s reference page describes any appropriate environment variables. Where a portability code applies to an entire function or utility, the SYNOPSIS section of the corresponding reference page is shaded and marked with the margin code. When an operating system or a product is Unix certified, it means that it has been tested and verified to meet the requirements specified by the SUS and/or POSIX standards.
The macro _XOPEN_SOURCE must o texto publicado be defined to a value of 800 to make available the functionality of the Single UNIX Specification, Version 5. These macros might more accurately be referred to as header configuration macros, as they control what symbols will be exposed by the headers. One or more C-language macros, referred to as feature test macros, must be defined before any headers are included. The c99, c89 and cc utilities are not defined in this version of the Single UNIX Specification, although implementations may additionally support them for backwards-compatibility. X/Open Common Usage C is defined in Programming Languages, Issue 3, Chapters 1-4, and essentially refers to the C Language before the 1989 ANSI C standard.
Darwin uses a 4.4BSD-derived pax command, which lacks multibyte support for filenames.[citation needed] For Linux, the pax command is usually not installed; furthermore, the pax command packages available for Linux often lack the pax file format support required by POSIX. It incorporates Single UNIX Specification version 4 TC1 and TC2, and is technically identical to the 2016 edition.
The Technical Corrigendum 1 is mostly targeting internationalization and it introduces a role-based access model. There are 45 margin codes defined in XBD §2.1.6. Since the introduction of the Single UNIX Specification, there has been a single, open, consensus specification that defines the requirements for a conformant UNIX system.
Each reference page in XSH has a common layout of sections describing the interface. The general terminal interface is described in the Single UNIX Specification in XBD, Chapter 11, General Terminal Interface, providing a mechanism to control asynchronous communications ports. XSH Section 2.10, Sockets, discusses all aspects of UNIX domain sockets and network sockets, including socket types, addressing, protocols, and socket options. XSH describes functionality to support multiple flows of control, called threads, within a process. The Single UNIX Specification includes realtime functionality to support the source portability of applications with realtime requirements.