Copyright © 2004 Free Standards Group
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
Portions of the text are copyrighted by the following parties:
The Regents of the University of California
Free Software Foundation
Ian F. Darwin
Paul Vixie
BSDI (now Wind River)
Andrew G Morgan
Jean-loup Gailly and Mark Adler
Massachusetts Institute of Technology
These excerpts are being used in accordance with their respective licenses.
Linux is a trademark of Linus Torvalds.
UNIX a registered trademark of the Open Group in the United States and other countries.
LSB is a trademark of the Free Standards Group in the USA and other countries.
AMD is a trademark of Advanced Micro Devices, Inc.
Intel and Itanium are registered trademarks and Intel386 is a trademarks of Intel Corporation.
OpenGL is a registered trademark of Silicon Graphics, Inc.
This is version 3.0Preview1 of the Linux Standard Base Core Specification for IA64. An implementation of this version of the specification may not claim to be an implementation of the Linux Standard Base unless it has successfully completed the compliance process as defined by the Free Standards Group.
The LSB defines a binary interface for application programs that are compiled and packaged for LSB-conforming implementations on many different hardware architectures. Since a binary specification shall include information specific to the computer processor architecture for which it is intended, it is not possible for a single document to specify the interface for all possible LSB-conforming implementations. Therefore, the LSB is a family of specifications, rather than a single one.
This document should be used in conjunction with the documents it references. This document enumerates the system components it includes, but descriptions of those components may be included entirely or partly in this document, partly in other documents, or entirely in other reference documents. For example, the section that describes system service routines includes a list of the system routines supported in this interface, formal declarations of the data structures they use that are visible to applications, and a pointer to the underlying referenced specification for information about the syntax and semantics of each call. Only those routines not described in standards referenced by this document, or extensions to those standards, are described in the detail. Information referenced in this way is as much a part of this document as is the information explicitly included here.
The specification carries a version number of either the form x.y or x.y.z. This version number carries the following meaning:
The first number (x) is the major version number. All versions with the same major version number should share binary compatibility. Any addition or deletion of a new library results in a new version number. Interfaces marked as deprecated may be removed from the specification at a major version change.
The second number (y) is the minor version number. Individual interfaces may be added if all certified implementations already had that (previously undocumented) interface. Interfaces may be marked as deprecated at a minor version change. Other minor changes may be permitted at the discretion of the LSB workgroup.
The third number (z), if present, is the editorial level. Only editorial changes should be included in such versions.
The Linux Standard Base (LSB) defines a system interface for compiled applications and a minimal environment for support of installation scripts. Its purpose is to enable a uniform industry standard environment for high-volume applications conforming to the LSB.
These specifications are composed of two basic parts: A common specification ("LSB-generic") describing those parts of the interface that remain constant across all implementations of the LSB, and an architecture-specific specification ("LSB-arch") describing the parts of the interface that vary by processor architecture. Together, the LSB-generic and the architecture-specific supplement for a single hardware architecture provide a complete interface specification for compiled application programs on systems that share a common hardware architecture.
The LSB-generic document shall be used in conjunction with an architecture-specific supplement. Whenever a section of the LSB-generic specification shall be supplemented by architecture-specific information, the LSB-generic document includes a reference to the architecture supplement. Architecture supplements may also contain additional information that is not referenced in the LSB-generic document.
The LSB contains both a set of Application Program Interfaces (APIs) and Application Binary Interfaces (ABIs). APIs may appear in the source code of portable applications, while the compiled binary of that application may use the larger set of ABIs. A conforming implementation shall provide all of the ABIs listed here. The compilation system may replace (e.g. by macro definition) certain APIs with calls to one or more of the underlying binary interfaces, and may insert calls to binary interfaces as needed.
The LSB is primarily a binary interface definition. Not all of the source level APIs available to applications may be contained in this specification.
This is the Itanium architecture specific Core module of the Linux Standards Base (LSB). This module supplements the generic LSB Core module with those interfaces that differ between architectures.
Interfaces described in this module are mandatory except where explicitly listed otherwise. Core interfaces may be supplemented by other modules; all modules are built upon the core.
The specifications listed below are referenced in whole or in part by the Linux Standard Base. In this specification, where only a particular section of one of these references is identified, then the normative reference is to that section alone, and the rest of the referenced document is informative.
Table 2-1. Normative References
| Name | Title | URL |
|---|---|---|
| DWARF Debugging Information Format | DWARF Debugging Information Format, Revision 2.0.0 (July 27, 1993) | http://www.eagercon.com/dwarf/dwarf-2.0.0.pdf |
| Filesystem Hierarchy Standard | Filesystem Hierarchy Standard (FHS) 2.3 | http://www.pathname.com/fhs/ |
| Gdk 2.6.2 Reference Manual | Gdk 2.6.2 Reference Manual | http://www.gtk.org/api/2.6/gdk/index.html |
| Gdk-pixbuf 2.6.2 Reference Manual | Gdk-pixbuf 2.6.2 Reference Manual | http://www.gtk.org/api/2.6/gdk-pixbuf/index.html |
| Glib 2.6.2 Reference Manual | Glib 2.6.2 Reference Manual | http://www.gtk.org/api/2.6/glib/index.html |
| Gobject 2.6.2 Reference Manual | Gobject 2.6.2 Reference Manual | http://www.gtk.org/api/2.6/gobject/index.html |
| Gtk 2.6.2 Reference Manual | Gtk 2.6.2 Reference Manual | http://www.gtk.org/api/2.6/gtk/index.html |
| IEEE Std 754-1985 | IEEE Standard 754 for Binary Floating-Point Arithmetic | http://www.ieee.org/ |
| Intel® Itanium ™ Processor-specific Application Binary Interface | Intel® Itanium ™ Processor-specific Application Binary Interface | http://refspecs.freestandards.org/elf/IA64-SysV-psABI.pdf |
| ISO C (1999) | ISO/IEC 9899: 1999, Programming Languages --C | |
| ISO POSIX (2003) | ISO/IEC 9945-1:2003 Information technology -- Portable Operating System Interface (POSIX) -- Part 1: Base Definitions ISO/IEC 9945-2:2003 Information technology -- Portable Operating System Interface (POSIX) -- Part 2: System Interfaces ISO/IEC 9945-3:2003 Information technology -- Portable Operating System Interface (POSIX) -- Part 3: Shell and Utilities ISO/IEC 9945-4:2003 Information technology -- Portable Operating System Interface (POSIX) -- Part 4: Rationale Including Technical Cor. 1: 2004 | http://www.unix.org/version3/ |
| ISO/IEC TR14652 | ISO/IEC Technical Report 14652:2002 Specification method for cultural conventions | |
| Itanium ™ Architecture Software Developer's Manual Volume 1 | Itanium ™ Architecture Software Developer's Manual Volume 1: Application Architecture | http://refspecs.freestandards.org/IA64-softdevman-vol1.pdf |
| Itanium ™ Architecture Software Developer's Manual Volume 2 | Itanium ™ Architecture Software Developer's Manual Volume 2: System Architecture | http://refspecs.freestandards.org/IA64-softdevman-vol2.pdf |
| Itanium ™ Architecture Software Developer's Manual Volume 3 | Itanium ™ Architecture Software Developer's Manual Volume 3: Instruction Set Reference | http://refspecs.freestandards.org/IA64-softdevman-vol3.pdf |
| Itanium ™ Architecture Software Developer's Manual Volume 4 | IA-64 Processor Reference: Intel® Itanium ™ Processor Reference Manual for Software Development | http://refspecs.freestandards.org/IA64-softdevman-vol4.pdf |
| Itanium ™ Software Conventions and Runtime Guide | Itanium ™ Software Conventions & Runtime Architecture Guide, September 2000 | http://refspecs.freestandards.org/IA64conventions.pdf |
| ITU-T V.42 | International Telecommunication Union Recommendation V.42 (2002): Error-correcting procedures for DCEs using asynchronous-to-synchronous conversionITUV | http://www.itu.int/rec/recommendation.asp?type=folders&lang=e&parent=T-REC-V.42 |
| Large File Support | Large File Support | http://www.UNIX-systems.org/version2/whatsnew/lfs20mar.html |
| Li18nux Globalization Specification | LI18NUX 2000 Globalization Specification, Version 1.0 with Amendment 4 | http://www.li18nux.org/docs/html/LI18NUX-2000-amd4.htm |
| Linux Allocated Device Registry | LINUX ALLOCATED DEVICES | http://www.lanana.org/docs/device-list/devices.txt |
| PAM | Open Software Foundation, Request For Comments: 86.0 , October 1995, V. Samar & R.Schemers (SunSoft) | http://www.opengroup.org/tech/rfc/mirror-rfc/rfc86.0.txt |
| RFC 1321: The MD5 Message-Digest Algorithm | IETF RFC 1321: The MD5 Message-Digest Algorithm | http://www.ietf.org/rfc/rfc1321.txt |
| RFC 1833: Binding Protocols for ONC RPC Version 2 | IETF RFC 1833: Binding Protocols for ONC RPC Version 2 | http://www.ietf.org/rfc/rfc1833.txt |
| RFC 1950: ZLIB Compressed Data Format Specication | IETF RFC 1950: ZLIB Compressed Data Format Specification | http://www.ietf.org/rfc/rfc1950.txt |
| RFC 1951: DEFLATE Compressed Data Format Specification | IETF RFC 1951: DEFLATE Compressed Data Format Specification version 1.3 | http://www.ietf.org/rfc/rfc1951.txt |
| RFC 1952: GZIP File Format Specification | IETF RFC 1952: GZIP file format specification version 4.3 | http://www.ietf.org/rfc/rfc1952.txt |
| RFC 2440: OpenPGP Message Format | IETF RFC 2440: OpenPGP Message Format | http://www.ietf.org/rfc/rfc2440.txt |
| RFC 2821:Simple Mail Transfer Protocol | IETF RFC 2821: Simple Mail Transfer Protocol | http://www.ietf.org/rfc/rfc2821.txt |
| RFC 2822:Internet Message Format | IETF RFC 2822: Internet Message Format | http://www.ietf.org/rfc/rfc2822.txt |
| RFC 791:Internet Protocol | IETF RFC 791: Internet Protocol Specification | http://www.ietf.org/rfc/rfc791.txt |
| SUSv2 | CAE Specification, January 1997, System Interfaces and Headers (XSH),Issue 5 (ISBN: 1-85912-181-0, C606) | http://www.opengroup.org/publications/catalog/un.htm |
| SUSv2 Commands and Utilities | The Single UNIX® Specification(SUS) Version 2, Commands and Utilities (XCU), Issue 5 (ISBN: 1-85912-191-8, C604) | http://www.opengroup.org/publications/catalog/un.htm |
| SVID Issue 3 | American Telephone and Telegraph Company, System V Interface Definition, Issue 3 ; Morristown, NJ, UNIX Press, 1989.(ISBN 0201566524) | |
| SVID Issue 4 | System V Interface Definition,Fourth Edition | |
| System V ABI | System V Application Binary Interface, Edition 4.1 | http://www.caldera.com/developers/devspecs/gabi41.pdf |
| System V ABI Update | System V Application Binary Interface - DRAFT - 17 December 2003 | http://www.caldera.com/developers/gabi/2003-12-17/contents.html |
| this specification | Linux Standard Base | http://www.linuxbase.org/spec/ |
| X/Open Curses | CAE Specification, May 1996, X/Open Curses, Issue 4, Version 2 (ISBN: 1-85912-171-3, C610), plus Corrigendum U018 | http://www.opengroup.org/publications/catalog/un.htm |
The libraries listed in Table 3-1 shall
be available on IA64 Linux Standard Base systems, with the specified
runtime names. These names override or supplement the names specified
in the generic LSB specification. The specified program interpreter,
referred to as proginterp in this table,
shall be used to load the shared libraries specified by
DT_NEEDED entries at run time.
Table 3-1. Standard Library Names
These libraries will be in an implementation-defined directory which the dynamic linker shall search by default.
A conforming implementation shall satisfy the following requirements:
The implementation shall implement fully the architecture described in the hardware manual for the target processor architecture.
The implementation shall be capable of executing compiled applications having the format and using the system interfaces described in this document.
The implementation shall provide libraries containing the interfaces specified by this document, and shall provide a dynamic linking mechanism that allows these interfaces to be attached to applications at runtime. All the interfaces shall behave as specified in this document.
The map of virtual memory provided by the implementation shall conform to the requirements of this document.
The implementation's low-level behavior with respect to function call linkage, system traps, signals, and other such activities shall conform to the formats described in this document.
The implementation shall provide all of the mandatory interfaces in their entirety.
The implementation may provide one or more of the optional interfaces. Each optional interface that is provided shall be provided in its entirety. The product documentation shall state which optional interfaces are provided.
The implementation shall provide all files and utilities specified as part of this document in the format defined here and in other referenced documents. All commands and utilities shall behave as required by this document. The implementation shall also provide all mandatory components of an application's runtime environment that are included or referenced in this document.
The implementation, when provided with standard data formats and values at a named interface, shall provide the behavior defined for those values and data formats at that interface. However, a conforming implementation may consist of components which are separately packaged and/or sold. For example, a vendor of a conforming implementation might sell the hardware, operating system, and windowing system as separately packaged items.
The implementation may provide additional interfaces with different names. It may also provide additional behavior corresponding to data values outside the standard ranges, for standard named interfaces.
A conforming application shall satisfy the following requirements:
Its executable files are either shell scripts or object files in the format defined for the Object File Format system interface.
Its object files participate in dynamic linking as defined in the Program Loading and Linking System interface.
It employs only the instructions, traps, and other low-level facilities defined in the Low-Level System interface as being for use by applications.
If it requires any optional interface defined in this document in order to be installed or to execute successfully, the requirement for that optional interface is stated in the application's documentation.
It does not use any interface or data format that is not required to be provided by a conforming implementation, unless:
If such an interface or data format is supplied by another application through direct invocation of that application during execution, that application is in turn an LSB conforming application.
The use of that interface or data format, as well as its source, is identified in the documentation of the application.
It shall not use any values for a named interface that are reserved for vendor extensions.
For the purposes of this document, the following definitions, as specified in the ISO/IEC Directives, Part 2, 2001, 4th Edition, apply:
be able to; there is a possibility of; it is possible to
be unable to; there is no possibilty of; it is not possible to
is permitted; is allowed; is permissible
it is not required that; no...is required
is to; is required to; it is required that; has to; only...is permitted; it is necessary
is not allowed [permitted] [acceptable] [permissible]; is required to be not; is required that...be not; is not to be
it is recommended that; ought to
it is not recommended that; ought not to
For the purposes of this document, the following terms apply:
The architectural part of the LSB Specification which describes the specific parts of the interface that are platform specific. The archLSB is complementary to the gLSB.
The total set of interfaces that are available to be used in the compiled binary code of a conforming application.
The common part of the LSB Specification that describes those parts of the interface that remain constant across all hardware implementations of the LSB.
Describes a value or behavior that is not defined by this document but is selected by an implementor. The value or behavior may vary among implementations that conform to this document. An application should not rely on the existence of the value or behavior. An application that relies on such a value or behavior cannot be assured to be portable across conforming implementations. The implementor shall document such a value or behavior so that it can be used correctly by an application.
A file that is read by an interpreter (e.g., awk). The first line of the shell script includes a reference to its interpreter binary.
The set of interfaces that are available to be used in the source code of a conforming application.
Describes the nature of a value or behavior not defined by this document which results from use of an invalid program construct or invalid data input. The value or behavior may vary among implementations that conform to this document. An application should not rely on the existence or validity of the value or behavior. An application that relies on any particular value or behavior cannot be assured to be portable across conforming implementations.
Describes the nature of a value or behavior not specified by this document which results from use of a valid program construct or valid data input. The value or behavior may vary among implementations that conform to this document. An application should not rely on the existence or validity of the value or behavior. An application that relies on any particular value or behavior cannot be assured to be portable across conforming implementations.
Other terms and definitions used in this document shall have the same meaning as defined in Chapter 3 of the Base Definitions volume of ISO POSIX (2003).
Throughout this document, the following typographic conventions are used:
the name of a function
the name of a command or utility
CONSTANTa constant value
a parameter
variablea variable
Throughout this specification, several tables of interfaces are presented. Each entry in these tables has the following format:
the name of the interface
An optional symbol version identifier, if required.
A reference number indexing the table of referenced specifications that follows this table.
For example,
refers to the interface named forkpty() with symbol versionGLIBC_2.0 that is defined in the
first of the listed references below the table.The Itanium™ Architecture is specified by the following documents
Only the features of the Itanium™ processor instruction set may be assumed to be present. An application is responsible for determining if any additional instruction set features are available before using those additional features. If a feature is not present, then the application may not use it.
Only instructions which do not require elevated privileges may be used.
Applications may not make system calls directly. The interfaces in the C library must be used instead.
There are some features of the Itanium™ processor architecture that need not be supported by a conforming implementation. These are described in this chapter. A conforming application shall not rely on these features.
Applications conforming to this specification must provide feedback to the user if a feature that is required for correct execution of the application is not present. Applications conforming to this specification should attempt to execute in a diminished capacity if a required feature is not present.
This specfication does not provide any performance guarantees of a conforming system. A system conforming to this specification may be implemented in either hardware or software.
This specification describes only LP64 (i.e. 32-bit integers, 64-bit longs and pointers) based implementations. Implementations may also provide ILP32 (32-bit integers, longs, and pointers), but conforming applications shall not rely on support for ILP32. See section 1.2 of the Intel® Itanium ™ Processor-specific Application Binary Interface for further information.
See Itanium ™ Software Conventions and Runtime Guide Chapter 4.
Within this specification, the term byte refers to an 8-bit object, the term halfword refers to a 16-bit object, the term word refers to a 32-bit object, the term doubleword refers to a 64-bit object, and the term quadword refers to a 128-bit object. Although the Itanium™ architecture also supports 120-bit addressable objects, this specification does not require LSB-conforming implementations to provide support for these objects.
LSB-conforming applications shall use little-endian byte ordering. LSB-conforming implementations may support big-endian applications.
Table 2-1 describes how fundemental C language data types shall be represented:
Table 1-1. Scalar Types
| Type | C | sizeof | Alignment (bytes) | Notes |
|---|---|---|---|---|
| Integral | char | 1 | 1 | |
| signed char | ||||
| unsigned char | ||||
| short | 2 | 2 | ||
| signed short | ||||
| unsigned short | ||||
| int | 4 | 4 | ||
| signed int | ||||
| unsigned int | ||||
| long | 8 | 8 | ||
| signed long | ||||
| unsigned long | ||||
| long long | 8 | 8 | See Note Below | |
| signed long long | ||||
| unsigned long long | ||||
| Pointer | any-type * | 8 | 8 | |
| any-type (*)() | ||||
| Floating-Point | float | 4 | 4 | |
| double | 8 | 8 | ||
| long double | 16 | 16 |
Note: Support for the long long data type is dependent on support for ISO9899:1999 C language. This standard is not required for LSB-conformance, but this data type is important when developing applications for the Itanium™ architecture. The GNU Compiler Collection (gcc) includes support for long long of ISO9899:1999.
A null pointer (for all types) shall have the value zero.
Aggregates (structures and arrays) and unions assume the alignment of their most strictly aligned component. The size of any object, including aggregates and unions, shall always be a multiple of the object's alignment. An array uses the same alignment as its elements. Structure and union objects may require padding to meet size and element constraints. The contents of such padding is undefined.
An entire structure or union object shall be aligned on the same boundary as its most strictly aligned member.
Each member shall be assigned to the lowest available offset with the appropriate alignment. This may require internal padding, depending on the previous member.
A structure's size shall be increased, if necessary, to make it a multiple of the alignment. This may require tail padding, depending on the last member.
A conforming application shall not read padding.
C struct and union definitions may have bit-fields, which define integral objects with a specified number of bits.
Bit fields that are declared with neither signed nor unsigned specifier shall always be treated as unsigned. Bit fields obey the same size and alignment rules as other structure and union members, with the following additional properties:
Bit-fields are allocated from right to left (least to most significant).
A bit-field must entirely reside in a storage unit for its appropriate type. A bit field shall never cross its unit boundary.
Bit-fields may share a storage unit with other struct/union members, including members that are not bit fields. Such other struct/union members shall occupy different parts of the storage unit.
The type of unnamed bit-fields shall not affect the alignment of a structure or union, although individual bit-field member offsets shall obey the alignment constraints.
| Bit-field Type | Width w | Range | ||
|---|---|---|---|---|
| 1 to 8 |
| ||
| 1 to 16 |
| ||
| 1 to 32 |
| ||
| 1 to 64 |
|
Figure 1-4. Bit-Field Ranges
LSB-conforming applications shall use the procedure linkage and function calling sequence as defined in Chapter 8.4 of the Itanium ™ Software Conventions and Runtime Guide.
The CPU general and other registers are as defined in the Itanium ™ Architecture Software Developer's Manual Volume 1 Section 3.1.
The floating point registers are as defined in the Itanium ™ Architecture Software Developer's Manual Volume 1 Section 3.1.
The stackframe layout is as described in the Itanium ™ Software Conventions and Runtime Guide Chapter 8.4.
The procedure argument passing mechanism is as described in the Itanium ™ Software Conventions and Runtime Guide Chapter 8.5.
See Itanium ™ Software Conventions and Runtime Guide Chapter 8.6.
Functions that return no value (void functions) are not required to put any particular value in any general register.
See Itanium ™ Software Conventions and Runtime Guide Chapter 8.6 (aggregate return values). Depending on the size (including any padding), aggregate data types may be passed in one or more general registers, or in memory.
LSB-conforming applications shall use the Operating System Interfaces as defined in Chapter 3 of the Intel® Itanium ™ Processor-specific Application Binary Interface.
Applications must assume that they will execute in the least privileged user mode (i.e. level 3). Other privilege levels are reserved for the Operating System.
See Intel® Itanium ™ Processor-specific Application Binary Interface, section 3.3.1.
See Intel® Itanium ™ Processor-specific Application Binary Interface, section 3.3.1.
See Intel® Itanium ™ Processor-specific Application Binary Interface, section 3.3.1.
LSB-conforming applications shall use the Process Startup as defined in Section 3.3.5 of the Intel® Itanium ™ Processor-specific Application Binary Interface.
Intel® Itanium ™ Processor-specific Application Binary Interface, section 3.3.5, defines required register initializations for process startup.
As defined in Intel® Itanium ™ Processor-specific Application Binary Interface, section 3.3.5, the return pointer register (rp) shall contain a valid return address, such that if the application program returns from the main entry routine, the implementation shall cause the application to exit normally, using the returned value as the exit status. Further, the unwind information for this "bottom of stack" routine in the implementation shall provide a mechanism for recognizing the bottom of the stack during a stack unwind.
The auxiliary vector conveys information from the operating system to the application. Only the terminating null auxiliary vector entry is required, but if any other entries are present, they shall be interpreted as follows. This vector is an array of the following structures.
typedef struct
{
long int a_type; /* Entry type */
union
{
long int a_val; /* Integer value */
void *a_ptr; /* Pointer value */
void (*a_fcn) (void); /* Function pointer value */
} a_un;
} auxv_t; |
The application shall interpret the a_un value according to the a_type. Other auxiliary vector types are reserved.
The a_type field shall contain one of the following values:
The last entry in the array has type AT_NULL. The value in a_un is undefined.
The value in a_un is undefined, and should be ignored.
File descriptor of program
Program headers for program
Size of program header entry
Number of program headers
System page size
Base address of interpreter
Flags
Entry point of program
Program is not ELF
Real uid
Effective uid
Real gid
Effective gid
Frequency of times()
String identifying platform.
Machine dependent hints about processor capabilities.
Used FPU control word
Data cache block size
Instruction cache block size
Unified cache block size
Note: The auxiliary vector is intended for passing information from the operating system to the program interpreter.
Although a pointer to the environment vector should be available as a third argument to the main() entry point, conforming applications should use getenv() to access the environment. (See ISO POSIX (2003), Section exec()).
LSB-conforming applications may implement fundamental operations using the Coding Examples as shown below.
Sample code sequences and coding conventions can be found in Itanium ™ Software Conventions and Runtime Guide, Chapter 9.
As defined in Intel® Itanium ™ Processor-specific Application Binary Interface, relocatable files, executable files, and shared object files that are supplied as part of an application must use Position Independent Code, as described in Itanium ™ Software Conventions and Runtime Guide, Chapter 12.
See Itanium ™ Software Conventions and Runtime Guide, Chapter 8.4.
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.4, and Itanium ™ Software Conventions and Runtime Guide, Chapter 12.3.
See Itanium ™ Software Conventions and Runtime Guide, Chapter 8.4.
Four types of procedure call are defined in Itanium ™ Software Conventions and Runtime Guide, Chapter 8.3. Although special calling conventions are permitted, provided that the compiler and runtime library agree on these conventions, none are defined for this standard. Consequently, no application shall depend on a type of procedure call other than Direct Calls, Direct Dynamically Linked Calls, or Indirect Calls, as defined in Itanium ™ Software Conventions and Runtime Guide, Chapter 8.3.
Branching is described in Itanium ™ Architecture Software Developer's Manual Volume 4, Chapter 4.5.
See Itanium ™ Architecture Software Developer's Manual Volume 4, Chapter 4.5.
Where there are several possible targets for a branch, the compiler may use a number of different code generation strategies. See Itanium ™ Software Conventions and Runtime Guide, Chapter 9.1.7.
See Itanium ™ Software Conventions and Runtime Guide, Chapter 8.5.2, and 8.5.4.
The C library alloca() function should be used to dynamically allocate stack space.
LSB-conforming implementations shall support an object file , called Executable and Linking Format (ELF) as defined by the System V ABI, Intel® Itanium ™ Processor-specific Application Binary Interface and as supplemented by the Linux Standard Base Specification and this document.
LSB-conforming applications shall use the Machine Information as defined in Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 4. Implementations shall support the LP64 model. It is unspecified whether or not the ILP32 model shall also be supported.
For LP64 relocatable objects, the file class value in e_ident[EI_CLASS] may be either ELFCLASS32 or ELFCLASS64, and a conforming linker must be able to process either or both classes.
Implementations shall support 2's complement, little endian data encoding. The data encoding value in e_ident[EI_DATA] shall contain the value ELFDATA2LSB.
The OS Identification field e_ident[EI_OSABI] shall contain the value ELFOSABI_LINUX.
The processor identification value held in e_machine shall contain the value EM_IA_64.
The flags field e_flags shall be as described in Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 4.1.1.6.
The following additional processor-specific flags are defined:
The stack and heap sections are executable. If this flag is not set, code can not be executed from the stack or heap.
The Itanium™ architecture defines two processor-specific section types, as described in Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 4.
The following sections are defined in the Intel® Itanium ™ Processor-specific Application Binary Interface.
Table 9-1. ELF Special Sections
| Name | Type | Attributes |
|---|---|---|
| .got | SHT_PROGBITS | SHF_ALLOC+SHF_WRITE+SHF_IA_64_SHORT |
| .IA_64.archext | SHT_IA_64_EXT | 0 |
| .IA_64.pltoff | SHT_PROGBITS | SHF_ALLOC+SHF_WRITE+SHF_IA_64_SHORT |
| .IA_64.unwind | SHT_IA_64_UNWIND | SHF_ALLOC+SHF_LINK_ORDER |
| .IA_64.unwind_info | SHT_PROGBITS | SHF_ALLOC |
| .plt | SHT_PROGBITS | SHF_ALLOC+SHF_EXECINSTR |
| .sbss | SHT_NOBITS | SHF_ALLOC+SHF_WRITE |
| .sdata | SHT_PROGBITS | SHF_ALLOC+SHF_WRITE+SHF_IA_64_SHORT |
| .sdata1 | SHT_PROGBITS | SHF_ALLOC+SHF_WRITE+SHF_IA_64_SHORT |
This section holds the Global Offset Table. See `Coding Examples' in Chapter 3, `Special Sections' in Chapter 4, and `Global Offset Table' in Chapter 5 of the processor supplement for more information.
This section holds product-specific extension bits. The link editor will perform a logical "or" of the extension bits of each object when creating an executable so that it creates only a single .IA_64.archext section in the executable.
This section holds local function descriptor entries.
This section holds the unwind function table. The contents are described in the Intel (r) Itanium (tm) Processor Specific ABI.
This section holds stack unwind and and exception handling information. The exception handling information is programming language specific, and is unspecified.
This section holds the Procedure Linkage Table.
This section holds uninitialized data that contribute to the program''s memory image. Data objects contained in this section are recommended to be eight bytes or less in size. The system initializes the data with zeroes when the program begins to run. The section occupies no file space, as indicated by the section type SHT_NOBITS. The .sbss section is placed so it may be accessed using short direct addressing (22 bit offset from gp).
This section and the .sdata1 section hold initialized data that contribute to the program''s memory image. Data objects contained in this section are recommended to be eight bytes or less in size. The .sdata and .sdata1 sections are placed so they may be accessed using short direct addressing (22 bit offset from gp).
See .sdata.
The following Linux IA-64 specific sections are defined here.
Table 9-2. Additional Special Sections
| Name | Type | Attributes |
|---|---|---|
| .opd | SHT_PROGBITS | SHF_ALLOC |
| .rela.dyn | SHT_RELA | SHF_ALLOC |
| .rela.IA_64.pltoff | SHT_RELA | SHF_ALLOC |
This section holds function descriptors
This section holds relocation information, as described in `Relocation'. These relocations are applied to the .dyn section.
This section holds relocation information, as described in `Relocation'. These relocations are applied to the .IA_64.pltoff section.
Section Types are described in the Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 4.2. LSB conforming implementations are not required to use any sections in the range from SHT_IA_64_LOPSREG to SHT_IA_64_HIPSREG. Additionally, LSB conforming implementations are not required to support the SHT_IA_64_PRIORITY_INIT section, beyond the gABI requirements for the handling of unrecognized section types, linking them into a contiguous section in the object file created by the static linker.
If an executable file contains a reference to a function defined in one of its associated shared objects, the symbol table section for that file shall contain an entry for that symbol. The st_shndx member of that symbol table entry contains SHN_UNDEF. This signals to the dynamic linker that the symbol definition for that function is not contained in the executable file itself. If that symbol has been allocated a procedure linkage table entry in the executable file, and the st_value member for that symbol table entry is non-zero, the value shall contain the virtual address of the first instruction of that procedure linkage table entry. Otherwise, the st_value member contains zero. This procedure linkage table entry address is used by the dynamic linker in resolving references to the address of the function.
Note: Need to add something here about st_info and st_other ...
LSB-conforming applications shall use Relocations as defined in Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 4.3.
LSB-conforming implementations shall support the object file information and system actions that create running programs as specified in the System V ABI, Intel® Itanium ™ Processor-specific Application Binary Interface and as supplemented by the Linux Standard Base Specification and this document.
The program header shall be as defined in the Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.2.
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.
The following dynamic entries are defined in the Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.2.
This entry's d_ptr member gives the address of the first byte in the procedure linkage table
The following dynamic entries are defined here.
The number of relative relocations in .rela.dyn
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.4.
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.3.
See Intel® Itanium ™ Processor-specific Application Binary Interface, Chapter 5.3.5.
An LSB-conforming implementation shall support base libraries which provide interfaces for accessing the operating system, processor and other hardware in the system.
Only those interfaces that are unique to the Itanium™ platform are defined here. This section should be used in conjunction with the corresponding section in the Linux Standard Base Specification.
The LSB specifies the Program Interpreter to be /lib/ld-lsb-ia64.so.3.
Table 1-1 defines the library name and shared object name for the libc library
The behavior of the interfaces in this library is specified by the following specifications:
| Large File Support |
| this specification |
| SUSv2 |
| ISO POSIX (2003) |
| SVID Issue 3 |
| SVID Issue 4 |
An LSB conforming implementation shall provide the architecture specific functions for RPC specified in Table 1-2, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-2. libc - RPC Function Interfaces
| authnone_create(GLIBC_2.2) [1] | svc_getreqset(GLIBC_2.2) [2] | svcudp_create(GLIBC_2.2) [3] | xdr_int(GLIBC_2.2) [2] | xdr_u_long(GLIBC_2.2) [2] |
| clnt_create(GLIBC_2.2) [1] | svc_register(GLIBC_2.2) [3] | xdr_accepted_reply(GLIBC_2.2) [2] | xdr_long(GLIBC_2.2) [2] | xdr_u_short(GLIBC_2.2) [2] |
| clnt_pcreateerror(GLIBC_2.2) [1] | svc_run(GLIBC_2.2) [3] | xdr_array(GLIBC_2.2) [2] | xdr_opaque(GLIBC_2.2) [2] | xdr_union(GLIBC_2.2) [2] |
| clnt_perrno(GLIBC_2.2) [1] | svc_sendreply(GLIBC_2.2) [3] | xdr_bool(GLIBC_2.2) [2] | xdr_opaque_auth(GLIBC_2.2) [2] | xdr_vector(GLIBC_2.2) [2] |
| clnt_perror(GLIBC_2.2) [1] | svcerr_auth(GLIBC_2.2) [2] | xdr_bytes(GLIBC_2.2) [2] | xdr_pointer(GLIBC_2.2) [2] | xdr_void(GLIBC_2.2) [2] |
| clnt_spcreateerror(GLIBC_2.2) [1] | svcerr_decode(GLIBC_2.2) [2] | xdr_callhdr(GLIBC_2.2) [2] | xdr_reference(GLIBC_2.2) [2] | xdr_wrapstring(GLIBC_2.2) [2] |
| clnt_sperrno(GLIBC_2.2) [1] | svcerr_noproc(GLIBC_2.2) [2] | xdr_callmsg(GLIBC_2.2) [2] | xdr_rejected_reply(GLIBC_2.2) [2] | xdrmem_create(GLIBC_2.2) [2] |
| clnt_sperror(GLIBC_2.2) [1] | svcerr_noprog(GLIBC_2.2) [2] | xdr_char(GLIBC_2.2) [2] | xdr_replymsg(GLIBC_2.2) [2] | xdrrec_create(GLIBC_2.2) [2] |
| key_decryptsession(GLIBC_2.2) [2] | svcerr_progvers(GLIBC_2.2) [2] | xdr_double(GLIBC_2.2) [2] | xdr_short(GLIBC_2.2) [2] | xdrrec_eof(GLIBC_2.2) [2] |
| pmap_getport(GLIBC_2.2) [3] | svcerr_systemerr(GLIBC_2.2) [2] | xdr_enum(GLIBC_2.2) [2] | xdr_string(GLIBC_2.2) [2] | |
| pmap_set(GLIBC_2.2) [3] | svcerr_weakauth(GLIBC_2.2) [2] | xdr_float(GLIBC_2.2) [2] | xdr_u_char(GLIBC_2.2) [2] | |
| pmap_unset(GLIBC_2.2) [3] | svctcp_create(GLIBC_2.2) [3] | xdr_free(GLIBC_2.2) [2] | xdr_u_int(GLIBC_2.2) [3] |
Referenced Specification(s)
[1]. SVID Issue 4
[2]. SVID Issue 3
[3]. this specification
An LSB conforming implementation shall provide the architecture specific functions for System Calls specified in Table 1-3, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-3. libc - System Calls Function Interfaces
| __fxstat(GLIBC_2.2) [1] | fchmod(GLIBC_2.2) [2] | getwd(GLIBC_2.2) [2] | read(GLIBC_2.2) [2] | setrlimit(GLIBC_2.2) [2] |
| __getpgid(GLIBC_2.2) [1] | fchown(GLIBC_2.2) [2] | initgroups(GLIBC_2.2) [1] | readdir(GLIBC_2.2) [2] | setrlimit64(GLIBC_2.2) [3] |
| __lxstat(GLIBC_2.2) [1] | fcntl(GLIBC_2.2) [1] | ioctl(GLIBC_2.2) [1] | readdir_r(GLIBC_2.2) [2] | setsid(GLIBC_2.2) [2] |
| __xmknod(GLIBC_2.2) [1] | fdatasync(GLIBC_2.2) [2] | kill(GLIBC_2.2) [1] | readlink(GLIBC_2.2) [2] | setuid(GLIBC_2.2) [2] |
| __xstat(GLIBC_2.2) [1] | flock(GLIBC_2.2) [1] | killpg(GLIBC_2.2) [2] | readv(GLIBC_2.2) [2] | sleep(GLIBC_2.2) [2] |
| access(GLIBC_2.2) [2] | fork(GLIBC_2.2) [2] | lchown(GLIBC_2.2) [2] | rename(GLIBC_2.2) [2] | statvfs(GLIBC_2.2) [2] |
| acct(GLIBC_2.2) [1] | fstatvfs(GLIBC_2.2) [2] | link(GLIBC_2.2) [1] | rmdir(GLIBC_2.2) [2] | stime(GLIBC_2.2) [1] |
| alarm(GLIBC_2.2) [2] | fsync(GLIBC_2.2) [2] | lockf(GLIBC_2.2) [2] | sbrk(GLIBC_2.2) [4] | symlink(GLIBC_2.2) [2] |
| brk(GLIBC_2.2) [4] | ftime(GLIBC_2.2) [2] | lseek(GLIBC_2.2) [2] | sched_get_priority_max(GLIBC_2.2) [2] | sync(GLIBC_2.2) [2] |
| chdir(GLIBC_2.2) [2] | ftruncate(GLIBC_2.2) [2] | mkdir(GLIBC_2.2) [2] | sched_get_priority_min(GLIBC_2.2) [2] | sysconf(GLIBC_2.2) [2] |
| chmod(GLIBC_2.2) [2] | getcontext(GLIBC_2.2) [2] | mkfifo(GLIBC_2.2) [2] | sched_getparam(GLIBC_2.2) [2] | time(GLIBC_2.2) [2] |
| chown(GLIBC_2.2) [2] | getegid(GLIBC_2.2) [2] | mlock(GLIBC_2.2) [2] | sched_getscheduler(GLIBC_2.2) [2] | times(GLIBC_2.2) [2] |
| chroot(GLIBC_2.2) [4] | geteuid(GLIBC_2.2) [2] | mlockall(GLIBC_2.2) [2] | sched_rr_get_interval(GLIBC_2.2) [2] | truncate(GLIBC_2.2) [2] |
| clock(GLIBC_2.2) [2] | getgid(GLIBC_2.2) [2] | mmap(GLIBC_2.2) [2] | sched_setparam(GLIBC_2.2) [2] | ulimit(GLIBC_2.2) [2] |
| close(GLIBC_2.2) [2] | getgroups(GLIBC_2.2) [2] | mprotect(GLIBC_2.2) [2] | sched_setscheduler(GLIBC_2.2) [2] | umask(GLIBC_2.2) [2] |
| closedir(GLIBC_2.2) [2] | getitimer(GLIBC_2.2) [2] | msync(GLIBC_2.2) [2] | sched_yield(GLIBC_2.2) [2] | uname(GLIBC_2.2) [2] |
| creat(GLIBC_2.2) [2] | getloadavg(GLIBC_2.2) [1] | munlock(GLIBC_2.2) [2] | select(GLIBC_2.2) [2] | unlink(GLIBC_2.2) [1] |
| dup(GLIBC_2.2) [2] | getpagesize(GLIBC_2.2) [4] | munlockall(GLIBC_2.2) [2] | setcontext(GLIBC_2.2) [2] | utime(GLIBC_2.2) [2] |
| dup2(GLIBC_2.2) [2] | getpgid(GLIBC_2.2) [2] | munmap(GLIBC_2.2) [2] | setegid(GLIBC_2.2) [2] | utimes(GLIBC_2.2) [2] |
| execl(GLIBC_2.2) [2] | getpgrp(GLIBC_2.2) [2] | nanosleep(GLIBC_2.2) [2] | seteuid(GLIBC_2.2) [2] | vfork(GLIBC_2.2) [2] |
| execle(GLIBC_2.2) [2] | getpid(GLIBC_2.2) [2] | nice(GLIBC_2.2) [2] | setgid(GLIBC_2.2) [2] | wait(GLIBC_2.2) [2] |
| execlp(GLIBC_2.2) [2] | getppid(GLIBC_2.2) [2] | open(GLIBC_2.2) [2] | setitimer(GLIBC_2.2) [2] | wait4(GLIBC_2.2) [1] |
| execv(GLIBC_2.2) [2] | getpriority(GLIBC_2.2) [2] | opendir(GLIBC_2.2) [2] | setpgid(GLIBC_2.2) [2] | waitpid(GLIBC_2.2) [1] |
| execve(GLIBC_2.2) [2] | getrlimit(GLIBC_2.2) [2] | pathconf(GLIBC_2.2) [2] | setpgrp(GLIBC_2.2) [2] | write(GLIBC_2.2) [2] |
| execvp(GLIBC_2.2) [2] | getrusage(GLIBC_2.2) [2] | pause(GLIBC_2.2) [2] | setpriority(GLIBC_2.2) [2] | writev(GLIBC_2.2) [2] |
| exit(GLIBC_2.2) [2] | getsid(GLIBC_2.2) [2] | pipe(GLIBC_2.2) [2] | setregid(GLIBC_2.2) [2] | |
| fchdir(GLIBC_2.2) [2] | getuid(GLIBC_2.2) [2] | poll(GLIBC_2.2) [2] | setreuid(GLIBC_2.2) [2] |
Referenced Specification(s)
[1]. this specification
[2]. ISO POSIX (2003)
[3]. Large File Support
[4]. SUSv2
An LSB conforming implementation shall provide the architecture specific functions for Standard I/O specified in Table 1-4, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-4. libc - Standard I/O Function Interfaces
| _IO_feof(GLIBC_2.2) [1] | fgetpos(GLIBC_2.2) [2] | fsetpos(GLIBC_2.2) [2] | putchar(GLIBC_2.2) [2] | sscanf(GLIBC_2.2) [1] |
| _IO_getc(GLIBC_2.2) [1] | fgets(GLIBC_2.2) [2] | ftell(GLIBC_2.2) [2] | putchar_unlocked(GLIBC_2.2) [2] | telldir(GLIBC_2.2) [2] |
| _IO_putc(GLIBC_2.2) [1] | fgetwc_unlocked(GLIBC_2.2) [1] | ftello(GLIBC_2.2) [2] | puts(GLIBC_2.2) [2] | tempnam(GLIBC_2.2) [2] |
| _IO_puts(GLIBC_2.2) [1] | fileno(GLIBC_2.2) [2] | fwrite(GLIBC_2.2) [2] | putw(GLIBC_2.2) [3] | ungetc(GLIBC_2.2) [2] |
| asprintf(GLIBC_2.2) [1] | flockfile(GLIBC_2.2) [2] | getc(GLIBC_2.2) [2] | remove(GLIBC_2.2) [2] | vasprintf(GLIBC_2.2) [1] |
| clearerr(GLIBC_2.2) [2] | fopen(GLIBC_2.2) [2] | getc_unlocked(GLIBC_2.2) [2] | rewind(GLIBC_2.2) [2] | vdprintf(GLIBC_2.2) [1] |
| ctermid(GLIBC_2.2) [2] | fprintf(GLIBC_2.2) [2] | getchar(GLIBC_2.2) [2] | rewinddir(GLIBC_2.2) [2] | vfprintf(GLIBC_2.2) [2] |
| fclose(GLIBC_2.2) [2] | fputc(GLIBC_2.2) [2] | getchar_unlocked(GLIBC_2.2) [2] | scanf(GLIBC_2.2) [1] | vprintf(GLIBC_2.2) [2] |
| fdopen(GLIBC_2.2) [2] | fputs(GLIBC_2.2) [2] | getw(GLIBC_2.2) [3] | seekdir(GLIBC_2.2) [2] | vsnprintf(GLIBC_2.2) [2] |
| feof(GLIBC_2.2) [2] | fread(GLIBC_2.2) [2] | pclose(GLIBC_2.2) [2] | setbuf(GLIBC_2.2) [2] | vsprintf(GLIBC_2.2) [2] |
| ferror(GLIBC_2.2) [2] | freopen(GLIBC_2.2) [2] | popen(GLIBC_2.2) [2] | setbuffer(GLIBC_2.2) [1] | |
| fflush(GLIBC_2.2) [2] | fscanf(GLIBC_2.2) [1] | printf(GLIBC_2.2) [2] | setvbuf(GLIBC_2.2) [2] | |
| fflush_unlocked(GLIBC_2.2) [1] | fseek(GLIBC_2.2) [2] | putc(GLIBC_2.2) [2] | snprintf(GLIBC_2.2) [2] | |
| fgetc(GLIBC_2.2) [2] | fseeko(GLIBC_2.2) [2] | putc_unlocked(GLIBC_2.2) [2] | sprintf(GLIBC_2.2) [2] |
Referenced Specification(s)
[1]. this specification
[2]. ISO POSIX (2003)
[3]. SUSv2
An LSB conforming implementation shall provide the architecture specific data interfaces for Standard I/O specified in Table 1-5, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-5. libc - Standard I/O Data Interfaces
| stderr(GLIBC_2.2) [1] | stdin(GLIBC_2.2) [1] | stdout(GLIBC_2.2) [1] |
Referenced Specification(s)
[1]. ISO POSIX (2003)
An LSB conforming implementation shall provide the architecture specific functions for Signal Handling specified in Table 1-6, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-6. libc - Signal Handling Function Interfaces
| __libc_current_sigrtmax(GLIBC_2.2) [1] | sigaction(GLIBC_2.2) [2] | sighold(GLIBC_2.2) [2] | sigorset(GLIBC_2.2) [1] | sigset(GLIBC_2.2) [2] |
| __libc_current_sigrtmin(GLIBC_2.2) [1] | sigaddset(GLIBC_2.2) [2] | sigignore(GLIBC_2.2) [2] | sigpause(GLIBC_2.2) [2] | sigsuspend(GLIBC_2.2) [2] |
| __sigsetjmp(GLIBC_2.2) [1] | sigaltstack(GLIBC_2.2) [2] | siginterrupt(GLIBC_2.2) [2] | sigpending(GLIBC_2.2) [2] | sigtimedwait(GLIBC_2.2) [2] |
| __sysv_signal(GLIBC_2.2) [1] | sigandset(GLIBC_2.2) [1] | sigisemptyset(GLIBC_2.2) [1] | sigprocmask(GLIBC_2.2) [2] | sigwait(GLIBC_2.2) [2] |
| bsd_signal(GLIBC_2.2) [2] | sigdelset(GLIBC_2.2) [2] | sigismember(GLIBC_2.2) [2] | sigqueue(GLIBC_2.2) [2] | sigwaitinfo(GLIBC_2.2) [2] |
| psignal(GLIBC_2.2) [1] | sigemptyset(GLIBC_2.2) [2] | siglongjmp(GLIBC_2.2) [2] | sigrelse(GLIBC_2.2) [2] | |
| raise(GLIBC_2.2) [2] | sigfillset(GLIBC_2.2) [2] | signal(GLIBC_2.2) [2] | sigreturn(GLIBC_2.2) [1] |
Referenced Specification(s)
[1]. this specification
[2]. ISO POSIX (2003)
An LSB conforming implementation shall provide the architecture specific data interfaces for Signal Handling specified in Table 1-7, with the full mandatory functionality as described in the referenced underlying specification.
Referenced Specification(s)
[1]. this specification
An LSB conforming implementation shall provide the architecture specific functions for Localization Functions specified in Table 1-8, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-8. libc - Localization Functions Function Interfaces
| bind_textdomain_codeset(GLIBC_2.2) [1] | catopen(GLIBC_2.2) [2] | dngettext(GLIBC_2.2) [1] | iconv_open(GLIBC_2.2) [2] | setlocale(GLIBC_2.2) [2] |
| bindtextdomain(GLIBC_2.2) [1] | dcgettext(GLIBC_2.2) [1] | gettext(GLIBC_2.2) [1] | localeconv(GLIBC_2.2) [2] | textdomain(GLIBC_2.2) [1] |
| catclose(GLIBC_2.2) [2] | dcngettext(GLIBC_2.2) [1] | iconv(GLIBC_2.2) [2] | ngettext(GLIBC_2.2) [1] | |
| catgets(GLIBC_2.2) [2] | dgettext(GLIBC_2.2) [1] | iconv_close(GLIBC_2.2) [2] | nl_langinfo(GLIBC_2.2) [2] |
Referenced Specification(s)
[1]. this specification
[2]. ISO POSIX (2003)
An LSB conforming implementation shall provide the architecture specific data interfaces for Localization Functions specified in Table 1-9, with the full mandatory functionality as described in the referenced underlying specification.
Referenced Specification(s)
[1]. this specification
An LSB conforming implementation shall provide the architecture specific functions for Socket Interface specified in Table 1-10, with the full mandatory functionality as described in the referenced underlying specification.
Table 1-10. libc - Socket Interface Function Interfaces
| __h_errno_location(GLIBC_2.2) [1] | gethostname(GLIBC_2.2) [2] | if_nameindex(GLIBC_2.2) [2] | send(GLIBC_2.2) [2] | socket(GLIBC_2.2) [2] |
| accept(GLIBC_2.2) [2] | getpeername(GLIBC_2.2) [2] | if_nametoindex(GLIBC_2.2) [2] | sendmsg(GLIBC_2.2) [2] | socketpair(GLIBC_2.2) [2] |
| bind(GLIBC_2.2) [2] | getsockname(GLIBC_2.2) [2] | listen(GLIBC_2.2) [2] | sendto(GLIBC_2.2) [2] | |
| bindresvport(GLIBC_2.2) [1] | getsockopt(GLIBC_2.2) [1] | recv(GLIBC_2.2) [2] | setsockopt(GLIBC_2.2) [1] | |
| connect(GLIBC_2.2) [2] | if_freenameindex(GLIBC_2.2) [2] | recvfrom(GLIBC_2.2) [2] | shutdown(GLIBC_2.2) [2] | |
| ge |