1 Linux Standard Base Specification for the S390 Architecture 2.0.1 2 3 Copyright ? 2000, 2001, 2002, 2003 Free Standards Group 4 5 Permission is granted to copy, distribute and/or modify this document under the 6 terms of the GNU Free Documentation License, Version 1.1; with no Invariant 7 Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of 8 the license is included in the section entitled "GNU Free Documentation 9 License". 10 11 Portions of the text are copyrighted by the following parties: 12 13 * The Regents of the University of California 14 15 * Free Software Foundation 16 17 * Ian F. Darwin 18 19 * Paul Vixie 20 21 * BSDI (now Wind River) 22 23 * Andrew G Morgan 24 25 * Jean-loup Gailly and Mark Adler 26 27 * Massachusetts Institute of Technology 28 29 These excerpts are being used in accordance with their respective licenses. 30 31 Linux is a trademark of Linus Torvalds. 32 33 UNIX a registered trademark of the Open Group in the United States and other 34 countries. 35 36 LSB is a trademark of the Free Standards Group in the USA and other countries. 37 38 AMD is a trademark of Advanced Micro Devices, Inc. 39 40 Intel and Itanium are registered trademarks and Intel386 is a trademarks of 41 Intel Corporation. 42 43 OpenGL is a registered trademark of Silicon Graphics, Inc. 44 45 ------------------------------------------------------------------------------- 46 47 Table of Contents 48 Foreword 49 Introduction 50 I. Introductory Elements 51 52 1. Scope 53 54 General 55 Module Specific Scope 56 57 2. Normative References 58 3. Requirements 59 60 Relevant Libraries 61 LSB Implementation Conformance 62 LSB Application Conformance 63 64 4. Definitions 65 5. Terminology 66 6. Documentation Conventions 67 68 II. Base Libraries 69 70 7. Libraries 71 72 Program Interpreter/Dynamic Linker 73 Interfaces for libc 74 Data Definitions for libc 75 Interfaces for libm 76 Interfaces for libpthread 77 Interfaces for libgcc_s 78 Interface Definitions for libgcc_s 79 Interfaces for libdl 80 Interfaces for libcrypt 81 82 III. Utility Libraries 83 84 8. Libraries 85 86 Interfaces for libz 87 Data Definitions for libz 88 Interfaces for libncurses 89 Data Definitions for libncurses 90 Interfaces for libutil 91 92 A. GNU Free Documentation License 93 94 PREAMBLE 95 APPLICABILITY AND DEFINITIONS 96 VERBATIM COPYING 97 COPYING IN QUANTITY 98 MODIFICATIONS 99 COMBINING DOCUMENTS 100 COLLECTIONS OF DOCUMENTS 101 AGGREGATION WITH INDEPENDENT WORKS 102 TRANSLATION 103 TERMINATION 104 FUTURE REVISIONS OF THIS LICENSE 105 How to use this License for your documents 106 107 List of Tables 108 2-1. Normative References 109 3-1. Standard Library Names 110 7-1. libc Definition 111 7-2. libc - RPC Function Interfaces 112 7-3. libc - System Calls Function Interfaces 113 7-4. libc - Standard I/O Function Interfaces 114 7-5. libc - Standard I/O Data Interfaces 115 7-6. libc - Signal Handling Function Interfaces 116 7-7. libc - Signal Handling Data Interfaces 117 7-8. libc - Localization Functions Function Interfaces 118 7-9. libc - Localization Functions Data Interfaces 119 7-10. libc - Socket Interface Function Interfaces 120 7-11. libc - Socket Interface Deprecated Function Interfaces 121 7-12. libc - Wide Characters Function Interfaces 122 7-13. libc - String Functions Function Interfaces 123 7-14. libc - IPC Functions Function Interfaces 124 7-15. libc - Regular Expressions Function Interfaces 125 7-16. libc - Regular Expressions Deprecated Function Interfaces 126 7-17. libc - Regular Expressions Deprecated Data Interfaces 127 7-18. libc - Character Type Functions Function Interfaces 128 7-19. libc - Time Manipulation Function Interfaces 129 7-20. libc - Time Manipulation Deprecated Function Interfaces 130 7-21. libc - Time Manipulation Data Interfaces 131 7-22. libc - Terminal Interface Functions Function Interfaces 132 7-23. libc - System Database Interface Function Interfaces 133 7-24. libc - Language Support Function Interfaces 134 7-25. libc - Large File Support Function Interfaces 135 7-26. libc - Standard Library Function Interfaces 136 7-27. libc - Standard Library Data Interfaces 137 7-28. libm Definition 138 7-29. libm - Math Function Interfaces 139 7-30. libm - Math Data Interfaces 140 7-31. libpthread Definition 141 7-32. libpthread - Posix Threads Function Interfaces 142 7-33. libgcc_s Definition 143 7-34. libgcc_s - Unwind Library Function Interfaces 144 7-35. libdl Definition 145 7-36. libdl - Dynamic Loader Function Interfaces 146 7-37. libcrypt Definition 147 7-38. libcrypt - Encryption Function Interfaces 148 8-1. libz Definition 149 8-2. libncurses Definition 150 8-3. libutil Definition 151 8-4. libutil - Utility Functions Function Interfaces 152 153 ------------------------------------------------------------------------------- 154 155 Foreword 156 157 This is version 2.0.1 of the Linux Standard Base Specification for the S390 158 Architecture. An implementation of this version of the specification may not 159 claim to be an implementation of the Linux Standard Base unless it has 160 successfully completed the compliance process as defined by the Free Standards 161 Group. 162 163 ------------------------------------------------------------------------------- 164 165 Introduction 166 167 The LSB defines a binary interface for application programs that are compiled 168 and packaged for LSB-conforming implementations on many different hardware 169 architectures. Since a binary specification shall include information specific 170 to the computer processor architecture for which it is intended, it is not 171 possible for a single document to specify the interface for all possible 172 LSB-conforming implementations. Therefore, the LSB is a family of 173 specifications, rather than a single one. 174 175 This document should be used in conjunction with the documents it references. 176 This document enumerates the system components it includes, but descriptions of 177 those components may be included entirely or partly in this document, partly in 178 other documents, or entirely in other reference documents. For example, the 179 section that describes system service routines includes a list of the system 180 routines supported in this interface, formal declarations of the data 181 structures they use that are visible to applications, and a pointer to the 182 underlying referenced specification for information about the syntax and 183 semantics of each call. Only those routines not described in standards 184 referenced by this document, or extensions to those standards, are described in 185 the detail. Information referenced in this way is as much a part of this 186 document as is the information explicitly included here. 187 188 I. Introductory Elements 189 190 Table of Contents 191 1. Scope 192 2. Normative References 193 3. Requirements 194 4. Definitions 195 5. Terminology 196 6. Documentation Conventions 197 198 ------------------------------------------------------------------------------- 199 200 Chapter 1. Scope 201 202 General 203 204 The Linux Standard Base (LSB) defines a system interface for compiled 205 applications and a minimal environment for support of installation scripts. Its 206 purpose is to enable a uniform industry standard environment for high-volume 207 applications conforming to the LSB. 208 209 These specifications are composed of two basic parts: A common specification 210 ("LSB-generic") describing those parts of the interface that remain constant 211 across all implementations of the LSB, and an architecture-specific 212 specification ("LSB-arch") describing the parts of the interface that vary by 213 processor architecture. Together, the LSB-generic and the architecture-specific 214 supplement for a single hardware architecture provide a complete interface 215 specification for compiled application programs on systems that share a common 216 hardware architecture. 217 218 The LSB-generic document shall be used in conjunction with an 219 architecture-specific supplement. Whenever a section of the LSB-generic 220 specification shall be supplemented by architecture-specific information, the 221 LSB-generic document includes a reference to the architecture supplement. 222 Architecture supplements may also contain additional information that is not 223 referenced in the LSB-generic document. 224 225 The LSB contains both a set of Application Program Interfaces (APIs) and 226 Application Binary Interfaces (ABIs). APIs may appear in the source code of 227 portable applications, while the compiled binary of that application may use 228 the larger set of ABIs. A conforming implementation shall provide all of the 229 ABIs listed here. The compilation system may replace (e.g. by macro definition) 230 certain APIs with calls to one or more of the underlying binary interfaces, and 231 may insert calls to binary interfaces as needed. 232 233 The LSB is primarily a binary interface definition. Not all of the source level 234 APIs available to applications may be contained in this specification. 235 236 ------------------------------------------------------------------------------- 237 238 Module Specific Scope 239 240 This is the S390 architecture specific Core module of the Linux Standards Base 241 (LSB). This module supplements the generic LSB Core module with those 242 interfaces that differ between architectures. 243 244 Interfaces described in this module are mandatory except where explicitly 245 listed otherwise. Core interfaces may be supplemented by other modules; all 246 modules are built upon the core. 247 248 ------------------------------------------------------------------------------- 249 250 Chapter 2. Normative References 251 252 The specifications listed below are referenced in whole or in part by the Linux 253 Standard Base. In this specification, where only a particular section of one of 254 these references is identified, then the normative reference is to that section 255 alone, and the rest of the referenced document is informative. 256 257 Table 2-1. Normative References 258 259 +-----------------------------------------------------------------------------+ 260 | Name | Title | URL | 261 |-----------------+-----------------------------------+-----------------------| 262 |DWARF Debugging |DWARF Debugging Information Format,|http://www.eagercon.com| 263 |Information |Revision 2.0.0 (July 27, 1993) |/dwarf/dwarf-2.0.0.pdf | 264 |Format | | | 265 |-----------------+-----------------------------------+-----------------------| 266 |Enterprise | |http:// | 267 |Systems |Enterprise Systems Architecture/390|oss.software.ibm.com/ | 268 |Architecture/390 |Principles of Operation |linux390/ | 269 |Principles of | |documentation-2.2.shtml| 270 |Operation | | | 271 |-----------------+-----------------------------------+-----------------------| 272 |Filesystem |Filesystem Hierarchy Standard (FHS)|http://www.pathname.com| 273 |Hierarchy |2.3 |/fhs/ | 274 |Standard | | | 275 |-----------------+-----------------------------------+-----------------------| 276 |IEEE Std 754-1985|IEEE Standard 754 for Binary |http://www.ieee.org/ | 277 | |Floating-Point Arithmetic | | 278 |-----------------+-----------------------------------+-----------------------| 279 |ISO C (1999) |ISO/IEC 9899: 1999, Programming | | 280 | |Languages --C | | 281 |-----------------+-----------------------------------+-----------------------| 282 | |ISO/IEC 9945-1:2003 Information | | 283 | |technology -- Portable Operating | | 284 | |System Interface (POSIX) -- Part 1:| | 285 | |Base Definitions | | 286 | | | | 287 | |ISO/IEC 9945-2:2003 Information | | 288 | |technology -- Portable Operating | | 289 | |System Interface (POSIX) -- Part 2:| | 290 | |System Interfaces |http://www.unix.org/ | 291 |ISO POSIX (2003) | |version3/ | 292 | |ISO/IEC 9945-3:2003 Information | | 293 | |technology -- Portable Operating | | 294 | |System Interface (POSIX) -- Part 3:| | 295 | |Shell and Utilities | | 296 | | | | 297 | |ISO/IEC 9945-4:2003 Information | | 298 | |technology -- Portable Operating | | 299 | |System Interface (POSIX) -- Part 4:| | 300 | |Rationale | | 301 |-----------------+-----------------------------------+-----------------------| 302 | | |http:// | 303 |Large File |Large File Support |www.UNIX-systems.org/ | 304 |Support | |version2/whatsnew/ | 305 | | |lfs20mar.html | 306 |-----------------+-----------------------------------+-----------------------| 307 |Li18nux |LI18NUX 2000 Globalization |http://www.li18nux.org/| 308 |Globalization |Specification, Version 1.0 with |docs/html/ | 309 |Specification |Amendment 4 |LI18NUX-2000-amd4.htm | 310 |-----------------+-----------------------------------+-----------------------| 311 |Linux Allocated | |http://www.lanana.org/ | 312 |Device Registry |LINUX ALLOCATED DEVICES |docs/device-list/ | 313 | | |devices.txt | 314 |-----------------+-----------------------------------+-----------------------| 315 |LINUX for S/390 | |http:// | 316 |ELF Application |LINUX for S/390 ELF Application |oss.software.ibm.com/ | 317 |Binary Interface |Binary Interface Supplement |linux390/ | 318 |Supplement | |documentation-2.2.shtml| 319 |-----------------+-----------------------------------+-----------------------| 320 | |Open Software Foundation, Request |http:// | 321 |PAM |For Comments: 86.0 , October 1995, |www.opengroup.org/tech/| 322 | |V. Samar & R.Schemers (SunSoft) |rfc/mirror-rfc/ | 323 | | |rfc86.0.txt | 324 |-----------------+-----------------------------------+-----------------------| 325 |RFC 1321: The MD5|IETF RFC 1321: The MD5 |http://www.ietf.org/rfc| 326 |Message-Digest |Message-Digest Algorithm |/rfc1321.txt | 327 |Algorithm | | | 328 |-----------------+-----------------------------------+-----------------------| 329 |RFC 1833: Binding|IETF RFC 1833: Binding Protocols |http://www.ietf.org/rfc| 330 |Protocols for ONC|for ONC RPC Version 2 |/rfc1833.txt | 331 |RPC Version 2 | | | 332 |-----------------+-----------------------------------+-----------------------| 333 |RFC 1951: DEFLATE|IETF RFC 1951: DEFLATE Compressed | | 334 |Compressed Data |Data Format Specification version |http://www.ietf.org/rfc| 335 |Format |1.3 |/rfc1951.txt | 336 |Specification | | | 337 |-----------------+-----------------------------------+-----------------------| 338 |RFC 1952: GZIP |IETF RFC 1952: GZIP file format |http://www.ietf.org/rfc| 339 |File Format |specification version 4.3 |/rfc1952.txt | 340 |Specification | | | 341 |-----------------+-----------------------------------+-----------------------| 342 |RFC 2440: OpenPGP|IETF RFC 2440: OpenPGP Message |http://www.ietf.org/rfc| 343 |Message Format |Format |/rfc2440.txt | 344 |-----------------+-----------------------------------+-----------------------| 345 | |CAE Specification, January 1997, |http:// | 346 |SUSv2 |System Interfaces and Headers |www.opengroup.org/ | 347 | |(XSH),Issue 5 (ISBN: 1-85912-181-0,|publications/catalog/ | 348 | |C606) |un.htm | 349 |-----------------+-----------------------------------+-----------------------| 350 | |The Single UNIX Specification(SUS)|http:// | 351 |SUSv2 Command and|Version 2, Commands and Utilities |www.opengroup.org/ | 352 |Utilities |(XCU), Issue 5 (ISBN: |publications/catalog/ | 353 | |1-85912-191-8, C604) |un.htm | 354 |-----------------+-----------------------------------+-----------------------| 355 | |American Telephone and Telegraph | | 356 | |Company, System V Interface | | 357 |SVID Issue 3 |Definition, Issue 3 ; Morristown, | | 358 | |NJ, UNIX Press, 1989.(ISBN | | 359 | |0201566524) | | 360 |-----------------+-----------------------------------+-----------------------| 361 |SVID Issue 4 |System V Interface | | 362 | |Definition,Fourth Edition | | 363 |-----------------+-----------------------------------+-----------------------| 364 | |System V Application Binary |http://www.caldera.com/| 365 |System V ABI |Interface, Edition 4.1 |developers/devspecs/ | 366 | | |gabi41.pdf | 367 |-----------------+-----------------------------------+-----------------------| 368 | |System V Application Binary |http://www.caldera.com/| 369 |System V ABI |Interface - DRAFT - 17 December |developers/gabi/ | 370 |Update |2003 |2003-12-17/ | 371 | | |contents.html | 372 |-----------------+-----------------------------------+-----------------------| 373 |this |Linux Standard Base |http:// | 374 |specification | |www.linuxbase.org/spec/| 375 |-----------------+-----------------------------------+-----------------------| 376 | |CAE Specification, May 1996, X/Open|http:// | 377 |X/Open Curses |Curses, Issue 4, Version 2 (ISBN: |www.opengroup.org/ | 378 | |1-85912-171-3, C610), plus |publications/catalog/ | 379 | |Corrigendum U018 |un.htm | 380 |-----------------+-----------------------------------+-----------------------| 381 |zlib Manual |zlib 1.2 Manual |http://www.gzip.org/ | 382 | | |zlib/ | 383 +-----------------------------------------------------------------------------+ 384 ------------------------------------------------------------------------------- 385 386 Chapter 3. Requirements 387 388 Relevant Libraries 389 390 The libraries listed in Table 3-1 shall be available on S390 Linux Standard 391 Base systems, with the specified runtime names. These names override or 392 supplement the names specified in the generic LSB specification. The specified 393 program interpreter, referred to as proginterp in this table, shall be used to 394 load the shared libraries specified by DT_NEEDED entries at run time. 395 396 Table 3-1. Standard Library Names 397 398 +--------------------------------+ 399 | Library | Runtime Name | 400 |----------+---------------------| 401 |libm |libm.so.6 | 402 |----------+---------------------| 403 |libdl |libdl.so.2 | 404 |----------+---------------------| 405 |libcrypt |libcrypt.so.1 | 406 |----------+---------------------| 407 |libc |libc.so.6 | 408 |----------+---------------------| 409 |libpthread|libpthread.so.0 | 410 |----------+---------------------| 411 |proginterp|/lib/ld-lsb-s390.so.2| 412 |----------+---------------------| 413 |libgcc_s |libgcc_s.so.1 | 414 |----------+---------------------| 415 |libz |libz.so.1 | 416 |----------+---------------------| 417 |libncurses|libncurses.so.5 | 418 |----------+---------------------| 419 |libutil |libutil.so.1 | 420 +--------------------------------+ 421 422 These libraries will be in an implementation-defined directory which the 423 dynamic linker shall search by default. 424 425 ------------------------------------------------------------------------------- 426 427 LSB Implementation Conformance 428 429 A conforming implementation shall satisfy the following requirements: 430 431 * The implementation shall implement fully the architecture described in the 432 hardware manual for the target processor architecture. 433 434 * The implementation shall be capable of executing compiled applications 435 having the format and using the system interfaces described in this 436 document. 437 438 * The implementation shall provide libraries containing the interfaces 439 specified by this document, and shall provide a dynamic linking mechanism 440 that allows these interfaces to be attached to applications at runtime. All 441 the interfaces shall behave as specified in this document. 442 443 * The map of virtual memory provided by the implementation shall conform to 444 the requirements of this document. 445 446 * The implementation's low-level behavior with respect to function call 447 linkage, system traps, signals, and other such activities shall conform to 448 the formats described in this document. 449 450 * The implementation shall provide all of the mandatory interfaces in their 451 entirety. 452 453 * The implementation may provide one or more of the optional interfaces. Each 454 optional interface that is provided shall be provided in its entirety. The 455 product documentation shall state which optional interfaces are provided. 456 457 * The implementation shall provide all files and utilities specified as part 458 of this document in the format defined here and in other referenced 459 documents. All commands and utilities shall behave as required by this 460 document. The implementation shall also provide all mandatory components of 461 an application's runtime environment that are included or referenced in 462 this document. 463 464 * The implementation, when provided with standard data formats and values at 465 a named interface, shall provide the behavior defined for those values and 466 data formats at that interface. However, a conforming implementation may 467 consist of components which are separately packaged and/or sold. For 468 example, a vendor of a conforming implementation might sell the hardware, 469 operating system, and windowing system as separately packaged items. 470 471 * The implementation may provide additional interfaces with different names. 472 It may also provide additional behavior corresponding to data values 473 outside the standard ranges, for standard named interfaces. 474 475 476 477 ------------------------------------------------------------------------------- 478 479 LSB Application Conformance 480 481 A conforming application shall satisfy the following requirements: 482 483 484 485 * Its executable files are either shell scripts or object files in the format 486 defined for the Object File Format system interface. 487 488 * Its object files participate in dynamic linking as defined in the Program 489 Loading and Linking System interface. 490 491 * It employs only the instructions, traps, and other low-level facilities 492 defined in the Low-Level System interface as being for use by applications. 493 494 * If it requires any optional interface defined in this document in order to 495 be installed or to execute successfully, the requirement for that optional 496 interface is stated in the application's documentation. 497 498 * It does not use any interface or data format that is not required to be 499 provided by a conforming implementation, unless: 500 501 + If such an interface or data format is supplied by another application 502 through direct invocation of that application during execution, that 503 application is in turn an LSB conforming application. 504 505 + The use of that interface or data format, as well as its source, is 506 identified in the documentation of the application. 507 508 * It shall not use any values for a named interface that are reserved for 509 vendor extensions. 510 511 A strictly conforming application does not require or use any interface, 512 facility, or implementation-defined extension that is not defined in this 513 document in order to be installed or to execute successfully. 514 515 ------------------------------------------------------------------------------- 516 517 Chapter 4. Definitions 518 519 For the purposes of this document, the following definitions, as specified in 520 the ISO/IEC Directives, Part 2, 2001, 4th Edition, apply: 521 522 can 523 524 be able to; there is a possibility of; it is possible to 525 526 cannot 527 528 be unable to; there is no possibilty of; it is not possible to 529 530 may 531 532 is permitted; is allowed; is permissible 533 534 need not 535 536 it is not required that; no...is required 537 538 shall 539 540 is to; is required to; it is required that; has to; only...is permitted; it 541 is necessary 542 543 shall not 544 545 is not allowed [permitted] [acceptable] [permissible]; is required to be 546 not; is required that...be not; is not to be 547 548 should 549 550 it is recommended that; ought to 551 552 should not 553 554 it is not recommended that; ought not to 555 556 ------------------------------------------------------------------------------- 557 558 Chapter 5. Terminology 559 560 For the purposes of this document, the following terms apply: 561 562 archLSB 563 564 The architectural part of the LSB Specification which describes the 565 specific parts of the interface that are platform specific. The archLSB is 566 complementary to the gLSB. 567 568 Binary Standard 569 570 The total set of interfaces that are available to be used in the compiled 571 binary code of a conforming application. 572 573 gLSB 574 575 The common part of the LSB Specification that describes those parts of the 576 interface that remain constant across all hardware implementations of the 577 LSB. 578 579 implementation-defined 580 581 Describes a value or behavior that is not defined by this document but is 582 selected by an implementor. The value or behavior may vary among 583 implementations that conform to this document. An application should not 584 rely on the existence of the value or behavior. An application that relies 585 on such a value or behavior cannot be assured to be portable across 586 conforming implementations. The implementor shall document such a value or 587 behavior so that it can be used correctly by an application. 588 589 Shell Script 590 591 A file that is read by an interpreter (e.g., awk). The first line of the 592 shell script includes a reference to its interpreter binary. 593 594 Source Standard 595 596 The set of interfaces that are available to be used in the source code of a 597 conforming application. 598 599 undefined 600 601 Describes the nature of a value or behavior not defined by this document 602 which results from use of an invalid program construct or invalid data 603 input. The value or behavior may vary among implementations that conform to 604 this document. An application should not rely on the existence or validity 605 of the value or behavior. An application that relies on any particular 606 value or behavior cannot be assured to be portable across conforming 607 implementations. 608 609 unspecified 610 611 Describes the nature of a value or behavior not specified by this document 612 which results from use of a valid program construct or valid data input. 613 The value or behavior may vary among implementations that conform to this 614 document. An application should not rely on the existence or validity of 615 the value or behavior. An application that relies on any particular value 616 or behavior cannot be assured to be portable across conforming 617 implementations. 618 619 Other terms and definitions used in this document shall have the same meaning 620 as defined in Chapter 3 of the Base Definitions volume of ISO POSIX (2003). 621 622 ------------------------------------------------------------------------------- 623 624 Chapter 6. Documentation Conventions 625 626 Throughout this document, the following typographic conventions are used: 627 628 function() 629 630 the name of a function 631 632 command 633 634 the name of a command or utility 635 636 CONSTANT 637 638 a constant value 639 640 parameter 641 642 a parameter 643 644 variable 645 646 a variable 647 648 Throughout this specification, several tables of interfaces are presented. Each 649 entry in these tables has the following format: 650 651 name 652 653 the name of the interface 654 655 (symver) 656 657 An optional symbol version identifier, if required. 658 659 [refno] 660 661 A reference number indexing the table of referenced specifications that 662 follows this table. 663 664 For example, 665 666 +----------------------+ 667 |forkpty(GLIBC_2.0) [1]| 668 +----------------------+ 669 670 refers to the interface named forkpty with symbol version GLIBC_2.0 that is 671 defined in the first of the listed references below the table. 672 673 II. Base Libraries 674 675 Table of Contents 676 7. Libraries 677 678 ------------------------------------------------------------------------------- 679 680 Chapter 7. Libraries 681 682 An LSB-conforming implementation shall support base libraries which provide 683 interfaces for accessing the operating system, processor and other hardware in 684 the system. 685 686 Only those interfaces that are unique to the PowerPC 32 platform are defined 687 here. This section should be used in conjunction with the corresponding section 688 in the Linux Standard Base Specification. 689 690 ------------------------------------------------------------------------------- 691 692 Program Interpreter/Dynamic Linker 693 694 The LSB specifies the Program Interpreter to be /lib/ld-lsb-s390.so.2. 695 696 ------------------------------------------------------------------------------- 697 698 Interfaces for libc 699 700 Table 7-1 defines the library name and shared object name for the libc library 701 702 Table 7-1. libc Definition 703 704 +-------------------+ 705 |Library:|libc | 706 |--------+----------| 707 |SONAME: |libc.so.6 | 708 +-------------------+ 709 710 The behavior of the interfaces in this library is specified by the following 711 specifications: 712 713 Large File Support 714 this specification 715 SUSv2 716 ISO POSIX (2003) 717 SVID Issue 3 718 SVID Issue 4 719 720 ------------------------------------------------------------------------------- 721 722 RPC 723 724 ------------------------------------------------------------------------------- 725 726 Interfaces for RPC 727 728 An LSB conforming implementation shall provide the architecture specific 729 functions for RPC specified in Table 7-2, with the full functionality as 730 described in the referenced underlying specification. 731 732 Table 7-2. libc - RPC Function Interfaces 733 734 +----------------------------------------------------------------------------------------+ 735 |authnone_create |pmap_unset |svcerr_weakauth |xdr_float |xdr_u_char | 736 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 737 | | | | |[3] | 738 |------------------+----------------+------------------+------------------+--------------| 739 |clnt_create |setdomainname |svctcp_create |xdr_free |xdr_u_int | 740 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 741 | | | | |[2] | 742 |------------------+----------------+------------------+------------------+--------------| 743 |clnt_pcreateerror |svc_getreqset |svcudp_create |xdr_int(GLIBC_2.0)|xdr_u_long | 744 |(GLIBC_2.0) [1] |(GLIBC_2.0) [3] |(GLIBC_2.0) [2] |[3] |(GLIBC_2.0) | 745 | | | | |[3] | 746 |------------------+----------------+------------------+------------------+--------------| 747 |clnt_perrno |svc_register |xdr_accepted_reply|xdr_long |xdr_u_short | 748 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 749 | | | | |[3] | 750 |------------------+----------------+------------------+------------------+--------------| 751 |clnt_perror |svc_run |xdr_array |xdr_opaque |xdr_union | 752 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 753 | | | | |[3] | 754 |------------------+----------------+------------------+------------------+--------------| 755 |clnt_spcreateerror|svc_sendreply |xdr_bool |xdr_opaque_auth |xdr_vector | 756 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 757 | | | | |[3] | 758 |------------------+----------------+------------------+------------------+--------------| 759 |clnt_sperrno |svcerr_auth |xdr_bytes |xdr_pointer |xdr_void | 760 |(GLIBC_2.0) [1] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 761 | | | | |[3] | 762 |------------------+----------------+------------------+------------------+--------------| 763 |clnt_sperror |svcerr_decode |xdr_callhdr |xdr_reference |xdr_wrapstring| 764 |(GLIBC_2.0) [1] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 765 | | | | |[3] | 766 |------------------+----------------+------------------+------------------+--------------| 767 |getdomainname |svcerr_noproc |xdr_callmsg |xdr_rejected_reply|xdrmem_create | 768 |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 769 | | | | |[3] | 770 |------------------+----------------+------------------+------------------+--------------| 771 |key_decryptsession|svcerr_noprog |xdr_char |xdr_replymsg |xdrrec_create | 772 |(GLIBC_2.1) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 773 | | | | |[3] | 774 |------------------+----------------+------------------+------------------+--------------| 775 |pmap_getport |svcerr_progvers |xdr_double |xdr_short |xdrrec_eof | 776 |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) | 777 | | | | |[3] | 778 |------------------+----------------+------------------+------------------+--------------| 779 |pmap_set |svcerr_systemerr|xdr_enum |xdr_string | | 780 |(GLIBC_2.0) [2] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] |(GLIBC_2.0) [3] | | 781 +----------------------------------------------------------------------------------------+ 782 783 Referenced Specification(s) 784 785 [1]. SVID Issue 4 786 787 [2]. this specification 788 789 [3]. SVID Issue 3 790 791 ------------------------------------------------------------------------------- 792 793 System Calls 794 795 ------------------------------------------------------------------------------- 796 797 Interfaces for System Calls 798 799 An LSB conforming implementation shall provide the architecture specific 800 functions for System Calls specified in Table 7-3, with the full functionality 801 as described in the referenced underlying specification. 802 803 Table 7-3. libc - System Calls Function Interfaces 804 805 +-----------------------------------------------------------------------------+ 806 |__fxstat |fchmod |getwd | |setrlimit | 807 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |read(GLIBC_2.0) [2] |(GLIBC_2.2) | 808 |[1] |[2] |[2] | |[2] | 809 |------------+-------------+-------------+----------------------+-------------| 810 |__getpgid |fchown |initgroups | |setrlimit64 | 811 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |readdir(GLIBC_2.0) [2]|(GLIBC_2.1) | 812 |[1] |[2] |[1] | |[3] | 813 |------------+-------------+-------------+----------------------+-------------| 814 |__lxstat |fcntl |ioctl |readdir_r(GLIBC_2.0) |setsid | 815 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 816 |[1] |[1] |[1] | |[2] | 817 |------------+-------------+-------------+----------------------+-------------| 818 |__xmknod |fdatasync |kill |readlink(GLIBC_2.0) |setuid | 819 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 820 |[1] |[2] |[1] | |[2] | 821 |------------+-------------+-------------+----------------------+-------------| 822 |__xstat |flock |killpg | |sleep | 823 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |readv(GLIBC_2.0) [2] |(GLIBC_2.0) | 824 |[1] |[1] |[2] | |[2] | 825 |------------+-------------+-------------+----------------------+-------------| 826 |access |fork |lchown | |statvfs | 827 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |rename(GLIBC_2.0) [2] |(GLIBC_2.1) | 828 |[2] |[2] |[2] | |[2] | 829 |------------+-------------+-------------+----------------------+-------------| 830 |acct |fstatvfs |link | |stime | 831 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |rmdir(GLIBC_2.0) [2] |(GLIBC_2.0) | 832 |[1] |[2] |[2] | |[1] | 833 |------------+-------------+-------------+----------------------+-------------| 834 |alarm |fsync |lockf | |symlink | 835 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |sbrk(GLIBC_2.0) [4] |(GLIBC_2.0) | 836 |[2] |[2] |[2] | |[2] | 837 |------------+-------------+-------------+----------------------+-------------| 838 |brk |ftime |lseek |sched_get_priority_max|sync | 839 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 840 |[4] |[2] |[2] | |[2] | 841 |------------+-------------+-------------+----------------------+-------------| 842 |chdir |ftruncate |mkdir |sched_get_priority_min|sysconf | 843 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 844 |[2] |[2] |[2] | |[2] | 845 |------------+-------------+-------------+----------------------+-------------| 846 |chmod |getcontext |mkfifo |sched_getparam |time | 847 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 848 |[2] |[2] |[2] | |[2] | 849 |------------+-------------+-------------+----------------------+-------------| 850 |chown |getegid |mlock |sched_getscheduler |times | 851 |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 852 |[2] |[2] |[2] | |[2] | 853 |------------+-------------+-------------+----------------------+-------------| 854 |chroot |geteuid |mlockall |sched_rr_get_interval |truncate | 855 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 856 |[4] |[2] |[2] | |[2] | 857 |------------+-------------+-------------+----------------------+-------------| 858 |clock |getgid |mmap |sched_setparam |ulimit | 859 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 860 |[2] |[2] |[2] | |[2] | 861 |------------+-------------+-------------+----------------------+-------------| 862 |close |getgroups |mprotect |sched_setscheduler |umask | 863 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) | 864 |[2] |[2] |[2] | |[2] | 865 |------------+-------------+-------------+----------------------+-------------| 866 |closedir |getitimer |msync |sched_yield(GLIBC_2.0)|uname | 867 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 868 |[2] |[2] |[2] | |[2] | 869 |------------+-------------+-------------+----------------------+-------------| 870 |creat |getloadavg |munlock | |unlink | 871 |(GLIBC_2.0) |(GLIBC_2.2) |(GLIBC_2.0) |select(GLIBC_2.0) [2] |(GLIBC_2.0) | 872 |[1] |[1] |[2] | |[1] | 873 |------------+-------------+-------------+----------------------+-------------| 874 |dup |getpagesize |munlockall |setcontext(GLIBC_2.0) |utime | 875 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 876 |[2] |[4] |[2] | |[2] | 877 |------------+-------------+-------------+----------------------+-------------| 878 |dup2 |getpgid |munmap | |utimes | 879 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |setegid(GLIBC_2.0) [2]|(GLIBC_2.0) | 880 |[2] |[2] |[2] | |[2] | 881 |------------+-------------+-------------+----------------------+-------------| 882 |execl |getpgrp |nanosleep | |vfork | 883 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |seteuid(GLIBC_2.0) [2]|(GLIBC_2.0) | 884 |[2] |[2] |[2] | |[2] | 885 |------------+-------------+-------------+----------------------+-------------| 886 |execle |getpid |nice | |wait | 887 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |setgid(GLIBC_2.0) [2] |(GLIBC_2.0) | 888 |[2] |[2] |[2] | |[2] | 889 |------------+-------------+-------------+----------------------+-------------| 890 |execlp |getppid |open |setitimer(GLIBC_2.0) |wait3 | 891 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 892 |[2] |[2] |[1] | |[1] | 893 |------------+-------------+-------------+----------------------+-------------| 894 |execv |getpriority |opendir | |wait4 | 895 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |setpgid(GLIBC_2.0) [2]|(GLIBC_2.0) | 896 |[2] |[2] |[2] | |[1] | 897 |------------+-------------+-------------+----------------------+-------------| 898 |execve |getrlimit |pathconf | |waitpid | 899 |(GLIBC_2.0) |(GLIBC_2.2) |(GLIBC_2.0) |setpgrp(GLIBC_2.0) [2]|(GLIBC_2.0) | 900 |[2] |[2] |[2] | |[1] | 901 |------------+-------------+-------------+----------------------+-------------| 902 |execvp |getrusage |pause |setpriority(GLIBC_2.0)|write | 903 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 904 |[2] |[2] |[2] | |[2] | 905 |------------+-------------+-------------+----------------------+-------------| 906 |exit |getsid |pipe |setregid(GLIBC_2.0) |writev | 907 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) | 908 |[2] |[2] |[2] | |[2] | 909 |------------+-------------+-------------+----------------------+-------------| 910 |fchdir |getuid |poll |setreuid(GLIBC_2.0) | | 911 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |[2] | | 912 |[2] |[2] |[2] | | | 913 +-----------------------------------------------------------------------------+ 914 915 Referenced Specification(s) 916 917 [1]. this specification 918 919 [2]. ISO POSIX (2003) 920 921 [3]. Large File Support 922 923 [4]. SUSv2 924 925 ------------------------------------------------------------------------------- 926 927 Standard I/O 928 929 ------------------------------------------------------------------------------- 930 931 Interfaces for Standard I/O 932 933 An LSB conforming implementation shall provide the architecture specific 934 functions for Standard I/O specified in Table 7-4, with the full functionality 935 as described in the referenced underlying specification. 936 937 Table 7-4. libc - Standard I/O Function Interfaces 938 939 +-----------------------------------------------------------------------------+ 940 |_IO_feof |fgetpos |fsetpos |putchar |sscanf | 941 |(GLIBC_2.0) [1]|(GLIBC_2.2) [2]|(GLIBC_2.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 942 | | | | |[2] | 943 |---------------+---------------+----------------+----------------+-----------| 944 |_IO_getc |fgets |ftell(GLIBC_2.0)|putchar_unlocked|telldir | 945 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]|[2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 946 | | | | |[2] | 947 |---------------+---------------+----------------+----------------+-----------| 948 |_IO_putc |fgetwc_unlocked|ftello |puts(GLIBC_2.0) |tempnam | 949 |(GLIBC_2.0) [1]|(GLIBC_2.2) [1]|(GLIBC_2.1) [2] |[2] |(GLIBC_2.0)| 950 | | | | |[2] | 951 |---------------+---------------+----------------+----------------+-----------| 952 |_IO_puts |fileno |fwrite |putw(GLIBC_2.0) |ungetc | 953 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]|(GLIBC_2.0) [2] |[3] |(GLIBC_2.0)| 954 | | | | |[2] | 955 |---------------+---------------+----------------+----------------+-----------| 956 |asprintf |flockfile |getc(GLIBC_2.0) |remove |vasprintf | 957 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]|[2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 958 | | | | |[1] | 959 |---------------+---------------+----------------+----------------+-----------| 960 |clearerr |fopen |getc_unlocked |rewind |vdprintf | 961 |(GLIBC_2.0) [2]|(GLIBC_2.1) [1]|(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 962 | | | | |[1] | 963 |---------------+---------------+----------------+----------------+-----------| 964 |ctermid |fprintf |getchar |rewinddir |vfprintf | 965 |(GLIBC_2.0) [2]|(GLIBC_2.0) [2]|(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 966 | | | | |[2] | 967 |---------------+---------------+----------------+----------------+-----------| 968 |fclose |fputc |getchar_unlocked|scanf(GLIBC_2.0)|vprintf | 969 |(GLIBC_2.1) [2]|(GLIBC_2.0) [2]|(GLIBC_2.0) [2] |[2] |(GLIBC_2.0)| 970 | | | | |[2] | 971 |---------------+---------------+----------------+----------------+-----------| 972 |fdopen |fputs |getw(GLIBC_2.0) |seekdir |vsnprintf | 973 |(GLIBC_2.1) [2]|(GLIBC_2.0) [2]|[3] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 974 | | | | |[2] | 975 |---------------+---------------+----------------+----------------+-----------| 976 |feof(GLIBC_2.0)|fread |pclose |setbuf |vsprintf | 977 |[2] |(GLIBC_2.0) [2]|(GLIBC_2.1) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0)| 978 | | | | |[2] | 979 |---------------+---------------+----------------+----------------+-----------| 980 |ferror |freopen |popen(GLIBC_2.1)|setbuffer | | 981 |(GLIBC_2.0) [2]|(GLIBC_2.0) [1]|[2] |(GLIBC_2.0) [1] | | 982 |---------------+---------------+----------------+----------------+-----------| 983 |fflush |fscanf |printf |setvbuf | | 984 |(GLIBC_2.0) [2]|(GLIBC_2.0) [2]|(GLIBC_2.0) [2] |(GLIBC_2.0) [2] | | 985 |---------------+---------------+----------------+----------------+-----------| 986 |fflush_unlocked|fseek |putc(GLIBC_2.0) |snprintf | | 987 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]|[2] |(GLIBC_2.0) [2] | | 988 |---------------+---------------+----------------+----------------+-----------| 989 |fgetc |fseeko |putc_unlocked |sprintf | | 990 |(GLIBC_2.0) [2]|(GLIBC_2.1) [2]|(GLIBC_2.0) [2] |(GLIBC_2.0) [2] | | 991 +-----------------------------------------------------------------------------+ 992 993 Referenced Specification(s) 994 995 [1]. this specification 996 997 [2]. ISO POSIX (2003) 998 999 [3]. SUSv2 1000 1001 An LSB conforming implementation shall provide the architecture specific data 1002 interfaces for Standard I/O specified in Table 7-5, with the full functionality 1003 as described in the referenced underlying specification. 1004 1005 Table 7-5. libc - Standard I/O Data Interfaces 1006 1007 +--------------------------------------------------------------------+ 1008 |stderr(GLIBC_2.0) [1]|stdin(GLIBC_2.0) [1]|stdout(GLIBC_2.0) [1]| | | 1009 +--------------------------------------------------------------------+ 1010 1011 Referenced Specification(s) 1012 1013 [1]. ISO POSIX (2003) 1014 1015 ------------------------------------------------------------------------------- 1016 1017 Signal Handling 1018 1019 ------------------------------------------------------------------------------- 1020 1021 Interfaces for Signal Handling 1022 1023 An LSB conforming implementation shall provide the architecture specific 1024 functions for Signal Handling specified in Table 7-6, with the full 1025 functionality as described in the referenced underlying specification. 1026 1027 Table 7-6. libc - Signal Handling Function Interfaces 1028 1029 +-----------------------------------------------------------------------------+ 1030 |__libc_current_sigrtmax|sigaddset |sighold |sigpause |sigsuspend | 1031 |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) | 1032 | |[2] |[2] |[2] |[2] | 1033 |-----------------------+------------+-------------+------------+-------------| 1034 |__libc_current_sigrtmin|sigaltstack |sigignore |sigpending |sigtimedwait | 1035 |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.1) | 1036 | |[2] |[2] |[2] |[2] | 1037 |-----------------------+------------+-------------+------------+-------------| 1038 |__sigsetjmp(GLIBC_2.0) |sigandset |siginterrupt |sigprocmask |sigwait | 1039 |[1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1040 | |[1] |[2] |[2] |[2] | 1041 |-----------------------+------------+-------------+------------+-------------| 1042 |__sysv_signal |sigblock |sigisemptyset|sigqueue |sigwaitinfo | 1043 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) | 1044 | |[1] |[1] |[2] |[2] | 1045 |-----------------------+------------+-------------+------------+-------------| 1046 |bsd_signal(GLIBC_2.0) |sigdelset |sigismember |sigrelse | | 1047 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) | | 1048 | |[2] |[2] |[2] | | 1049 |-----------------------+------------+-------------+------------+-------------| 1050 | |sigemptyset |siglongjmp |sigreturn | | 1051 |psignal(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1052 | |[2] |[2] |[1] | | 1053 |-----------------------+------------+-------------+------------+-------------| 1054 | |sigfillset |signal |sigset | | 1055 |raise(GLIBC_2.0) [2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) | | 1056 | |[2] |[2] |[2] | | 1057 |-----------------------+------------+-------------+------------+-------------| 1058 |sigaction(GLIBC_2.0) |siggetmask |sigorset |sigstack | | 1059 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1060 | |[1] |[1] |[3] | | 1061 +-----------------------------------------------------------------------------+ 1062 1063 Referenced Specification(s) 1064 1065 [1]. this specification 1066 1067 [2]. ISO POSIX (2003) 1068 1069 [3]. SUSv2 1070 1071 An LSB conforming implementation shall provide the architecture specific data 1072 interfaces for Signal Handling specified in Table 7-7, with the full 1073 functionality as described in the referenced underlying specification. 1074 1075 Table 7-7. libc - Signal Handling Data Interfaces 1076 1077 +-----------------------------------+ 1078 |_sys_siglist(GLIBC_2.1) [1]| | | | | 1079 +-----------------------------------+ 1080 1081 Referenced Specification(s) 1082 1083 [1]. this specification 1084 1085 ------------------------------------------------------------------------------- 1086 1087 Localization Functions 1088 1089 ------------------------------------------------------------------------------- 1090 1091 Interfaces for Localization Functions 1092 1093 An LSB conforming implementation shall provide the architecture specific 1094 functions for Localization Functions specified in Table 7-8, with the full 1095 functionality as described in the referenced underlying specification. 1096 1097 Table 7-8. libc - Localization Functions Function Interfaces 1098 1099 +-----------------------------------------------------------------------------+ 1100 |bind_textdomain_codeset|catopen |dngettext |iconv_open |setlocale | 1101 |(GLIBC_2.2) [1] |(GLIBC_2.0) |(GLIBC_2.2) |(GLIBC_2.1) |(GLIBC_2.0) | 1102 | |[2] |[1] |[2] |[2] | 1103 |-----------------------+------------+-------------+-------------+------------| 1104 |bindtextdomain |dcgettext |gettext |localeconv |textdomain | 1105 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.2) |(GLIBC_2.0) | 1106 | |[1] |[1] |[2] |[1] | 1107 |-----------------------+------------+-------------+-------------+------------| 1108 | |dcngettext |iconv |ngettext | | 1109 |catclose(GLIBC_2.0) [2]|(GLIBC_2.2) |(GLIBC_2.1) |(GLIBC_2.2) | | 1110 | |[1] |[2] |[1] | | 1111 |-----------------------+------------+-------------+-------------+------------| 1112 | |dgettext |iconv_close |nl_langinfo | | 1113 |catgets(GLIBC_2.0) [2] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) | | 1114 | |[1] |[2] |[2] | | 1115 +-----------------------------------------------------------------------------+ 1116 1117 Referenced Specification(s) 1118 1119 [1]. this specification 1120 1121 [2]. ISO POSIX (2003) 1122 1123 An LSB conforming implementation shall provide the architecture specific data 1124 interfaces for Localization Functions specified in Table 7-9, with the full 1125 functionality as described in the referenced underlying specification. 1126 1127 Table 7-9. libc - Localization Functions Data Interfaces 1128 1129 +---------------------------------------+ 1130 |_nl_msg_cat_cntr(GLIBC_2.0) [1]| | | | | 1131 +---------------------------------------+ 1132 1133 Referenced Specification(s) 1134 1135 [1]. this specification 1136 1137 ------------------------------------------------------------------------------- 1138 1139 Socket Interface 1140 1141 ------------------------------------------------------------------------------- 1142 1143 Interfaces for Socket Interface 1144 1145 An LSB conforming implementation shall provide the architecture specific 1146 functions for Socket Interface specified in Table 7-10, with the full 1147 functionality as described in the referenced underlying specification. 1148 1149 Table 7-10. libc - Socket Interface Function Interfaces 1150 1151 +-----------------------------------------------------------------------------+ 1152 |__h_errno_location|gethostid |listen |sendmsg |socketpair | 1153 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1154 | |[2] |[2] |[2] |[2] | 1155 |------------------+--------------+-------------+--------------+--------------| 1156 |accept(GLIBC_2.0) |gethostname |recv |sendto | | 1157 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1158 | |[2] |[2] |[2] | | 1159 |------------------+--------------+-------------+--------------+--------------| 1160 |bind(GLIBC_2.0) |getpeername |recvfrom |setsockopt | | 1161 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1162 | |[2] |[2] |[1] | | 1163 |------------------+--------------+-------------+--------------+--------------| 1164 |bindresvport |getsockname |recvmsg |shutdown | | 1165 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1166 | |[2] |[2] |[2] | | 1167 |------------------+--------------+-------------+--------------+--------------| 1168 |connect(GLIBC_2.0)|getsockopt |send |socket | | 1169 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1170 | |[2] |[2] |[2] | | 1171 +-----------------------------------------------------------------------------+ 1172 1173 Referenced Specification(s) 1174 1175 [1]. this specification 1176 1177 [2]. ISO POSIX (2003) 1178 1179 An LSB conforming implementation shall provide the architecture specific 1180 deprecated functions for Socket Interface specified in Table 7-11, with the 1181 full functionality as described in the referenced underlying specification. 1182 1183 Note: These interfaces are deprecated, and applications should avoid using 1184 them. These interfaces may be withdrawn in future releases of this 1185 specification. 1186 1187 Table 7-11. libc - Socket Interface Deprecated Function Interfaces 1188 1189 +----------------------------------------+ 1190 |gethostbyname_r(GLIBC_2.1.2) [1]| | | | | 1191 +----------------------------------------+ 1192 1193 Referenced Specification(s) 1194 1195 [1]. this specification 1196 1197 ------------------------------------------------------------------------------- 1198 1199 Wide Characters 1200 1201 ------------------------------------------------------------------------------- 1202 1203 Interfaces for Wide Characters 1204 1205 An LSB conforming implementation shall provide the architecture specific 1206 functions for Wide Characters specified in Table 7-12, with the full 1207 functionality as described in the referenced underlying specification. 1208 1209 Table 7-12. libc - Wide Characters Function Interfaces 1210 1211 +-----------------------------------------------------------------------------+ 1212 |__wcstod_internal |mbsinit |vwscanf |wcsnlen |wcstoumax | 1213 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.2) |(GLIBC_2.1) |(GLIBC_2.1) | 1214 | |[2] |[2] |[1] |[2] | 1215 |------------------+--------------+--------------+--------------+-------------| 1216 |__wcstof_internal |mbsnrtowcs |wcpcpy |wcsnrtombs |wcstouq | 1217 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1218 | |[1] |[1] |[1] |[1] | 1219 |------------------+--------------+--------------+--------------+-------------| 1220 |__wcstol_internal |mbsrtowcs |wcpncpy |wcspbrk |wcswcs | 1221 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) | 1222 | |[2] |[1] |[2] |[2] | 1223 |------------------+--------------+--------------+--------------+-------------| 1224 |__wcstold_internal|mbstowcs |wcrtomb |wcsrchr |wcswidth | 1225 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1226 | |[2] |[2] |[2] |[2] | 1227 |------------------+--------------+--------------+--------------+-------------| 1228 |__wcstoul_internal|mbtowc |wcscasecmp |wcsrtombs |wcsxfrm | 1229 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) | 1230 | |[2] |[1] |[2] |[2] | 1231 |------------------+--------------+--------------+--------------+-------------| 1232 |btowc(GLIBC_2.0) |putwc |wcscat |wcsspn |wctob | 1233 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1234 | |[2] |[2] |[2] |[2] | 1235 |------------------+--------------+--------------+--------------+-------------| 1236 |fgetwc(GLIBC_2.2) |putwchar |wcschr |wcsstr |wctomb | 1237 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1238 | |[2] |[2] |[2] |[2] | 1239 |------------------+--------------+--------------+--------------+-------------| 1240 |fgetws(GLIBC_2.2) |swprintf |wcscmp |wcstod |wctrans | 1241 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1242 | |[2] |[2] |[2] |[2] | 1243 |------------------+--------------+--------------+--------------+-------------| 1244 |fputwc(GLIBC_2.2) |swscanf |wcscoll |wcstof |wctype | 1245 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1246 | |[2] |[2] |[2] |[2] | 1247 |------------------+--------------+--------------+--------------+-------------| 1248 |fputws(GLIBC_2.2) |towctrans |wcscpy |wcstoimax |wcwidth | 1249 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) | 1250 | |[2] |[2] |[2] |[2] | 1251 |------------------+--------------+--------------+--------------+-------------| 1252 |fwide(GLIBC_2.2) |towlower |wcscspn |wcstok |wmemchr | 1253 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1254 | |[2] |[2] |[2] |[2] | 1255 |------------------+--------------+--------------+--------------+-------------| 1256 |fwprintf |towupper |wcsdup |wcstol |wmemcmp | 1257 |(GLIBC_2.2) [2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1258 | |[2] |[1] |[2] |[2] | 1259 |------------------+--------------+--------------+--------------+-------------| 1260 |fwscanf(GLIBC_2.2)|ungetwc |wcsftime |wcstold |wmemcpy | 1261 |[2] |(GLIBC_2.2) |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) | 1262 | |[2] |[2] |[2] |[2] | 1263 |------------------+--------------+--------------+--------------+-------------| 1264 |getwc(GLIBC_2.2) |vfwprintf |wcslen |wcstoll |wmemmove | 1265 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) | 1266 | |[2] |[2] |[2] |[2] | 1267 |------------------+--------------+--------------+--------------+-------------| 1268 |getwchar |vfwscanf |wcsncasecmp |wcstombs |wmemset | 1269 |(GLIBC_2.2) [2] |(GLIBC_2.2) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) | 1270 | |[2] |[1] |[2] |[2] | 1271 |------------------+--------------+--------------+--------------+-------------| 1272 |mblen(GLIBC_2.0) |vswprintf |wcsncat |wcstoq |wprintf | 1273 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.2) | 1274 | |[2] |[2] |[1] |[2] | 1275 |------------------+--------------+--------------+--------------+-------------| 1276 |mbrlen(GLIBC_2.0) |vswscanf |wcsncmp |wcstoul |wscanf | 1277 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.2) | 1278 | |[2] |[2] |[2] |[2] | 1279 |------------------+--------------+--------------+--------------+-------------| 1280 |mbrtowc(GLIBC_2.0)|vwprintf |wcsncpy |wcstoull | | 1281 |[2] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.1) | | 1282 | |[2] |[2] |[2] | | 1283 +-----------------------------------------------------------------------------+ 1284 1285 Referenced Specification(s) 1286 1287 [1]. this specification 1288 1289 [2]. ISO POSIX (2003) 1290 1291 ------------------------------------------------------------------------------- 1292 1293 String Functions 1294 1295 ------------------------------------------------------------------------------- 1296 1297 Interfaces for String Functions 1298 1299 An LSB conforming implementation shall provide the architecture specific 1300 functions for String Functions specified in Table 7-13, with the full 1301 functionality as described in the referenced underlying specification. 1302 1303 Table 7-13. libc - String Functions Function Interfaces 1304 1305 +----------------------------------------------------------------------------+ 1306 |__mempcpy |bzero |strcasestr |strncasecmp |strtoimax | 1307 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.1) | 1308 | |[2] |[1] |[2] |[2] | 1309 |-------------------+-------------+-------------+--------------+-------------| 1310 |__rawmemchr |ffs |strcat |strncat |strtok | 1311 |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1312 | |[2] |[2] |[2] |[2] | 1313 |-------------------+-------------+-------------+--------------+-------------| 1314 |__stpcpy(GLIBC_2.0)|index |strchr |strncmp |strtok_r | 1315 |[1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1316 | |[2] |[2] |[2] |[2] | 1317 |-------------------+-------------+-------------+--------------+-------------| 1318 |__strdup(GLIBC_2.0)|memccpy |strcmp |strncpy |strtold | 1319 |[1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1320 | |[2] |[2] |[2] |[2] | 1321 |-------------------+-------------+-------------+--------------+-------------| 1322 |__strtod_internal |memchr |strcoll |strndup |strtoll | 1323 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1324 | |[2] |[2] |[1] |[2] | 1325 |-------------------+-------------+-------------+--------------+-------------| 1326 |__strtof_internal |memcmp |strcpy |strnlen |strtoq | 1327 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1328 | |[2] |[2] |[1] |[1] | 1329 |-------------------+-------------+-------------+--------------+-------------| 1330 |__strtok_r |memcpy |strcspn |strpbrk |strtoull | 1331 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1332 | |[2] |[2] |[2] |[2] | 1333 |-------------------+-------------+-------------+--------------+-------------| 1334 |__strtol_internal |memmove |strdup |strptime |strtoumax | 1335 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) | 1336 | |[2] |[2] |[1] |[2] | 1337 |-------------------+-------------+-------------+--------------+-------------| 1338 |__strtold_internal |memrchr |strerror |strrchr |strtouq | 1339 |(GLIBC_2.0) [1] |(GLIBC_2.2) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1340 | |[1] |[2] |[2] |[1] | 1341 |-------------------+-------------+-------------+--------------+-------------| 1342 |__strtoll_internal |memset |strerror_r |strsep |strverscmp | 1343 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) | 1344 | |[2] |[1] |[1] |[1] | 1345 |-------------------+-------------+-------------+--------------+-------------| 1346 |__strtoul_internal |rindex |strfmon |strsignal |strxfrm | 1347 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1348 | |[2] |[2] |[1] |[2] | 1349 |-------------------+-------------+-------------+--------------+-------------| 1350 |__strtoull_internal|stpcpy |strfry |strspn |swab | 1351 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1352 | |[1] |[1] |[2] |[2] | 1353 |-------------------+-------------+-------------+--------------+-------------| 1354 | |stpncpy |strftime |strstr | | 1355 |bcmp(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1356 | |[1] |[2] |[2] | | 1357 |-------------------+-------------+-------------+--------------+-------------| 1358 |bcopy(GLIBC_2.0) |strcasecmp |strlen |strtof | | 1359 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1360 | |[2] |[2] |[2] | | 1361 +----------------------------------------------------------------------------+ 1362 1363 Referenced Specification(s) 1364 1365 [1]. this specification 1366 1367 [2]. ISO POSIX (2003) 1368 1369 ------------------------------------------------------------------------------- 1370 1371 IPC Functions 1372 1373 ------------------------------------------------------------------------------- 1374 1375 Interfaces for IPC Functions 1376 1377 An LSB conforming implementation shall provide the architecture specific 1378 functions for IPC Functions specified in Table 7-14, with the full 1379 functionality as described in the referenced underlying specification. 1380 1381 Table 7-14. libc - IPC Functions Function Interfaces 1382 1383 +-----------------------------------------------------------------------------+ 1384 |ftok(GLIBC_2.0) |msgrcv(GLIBC_2.0) |semget(GLIBC_2.0) |shmctl(GLIBC_2.2) | | 1385 |[1] |[1] |[1] |[1] | | 1386 |------------------+------------------+------------------+------------------+-| 1387 |msgctl(GLIBC_2.2) |msgsnd(GLIBC_2.0) |semop(GLIBC_2.0) |shmdt(GLIBC_2.0) | | 1388 |[1] |[1] |[1] |[1] | | 1389 |------------------+------------------+------------------+------------------+-| 1390 |msgget(GLIBC_2.0) |semctl(GLIBC_2.2) |shmat(GLIBC_2.0) |shmget(GLIBC_2.0) | | 1391 |[1] |[1] |[1] |[1] | | 1392 +-----------------------------------------------------------------------------+ 1393 1394 Referenced Specification(s) 1395 1396 [1]. ISO POSIX (2003) 1397 1398 ------------------------------------------------------------------------------- 1399 1400 Regular Expressions 1401 1402 ------------------------------------------------------------------------------- 1403 1404 Interfaces for Regular Expressions 1405 1406 An LSB conforming implementation shall provide the architecture specific 1407 functions for Regular Expressions specified in Table 7-15, with the full 1408 functionality as described in the referenced underlying specification. 1409 1410 Table 7-15. libc - Regular Expressions Function Interfaces 1411 1412 +-----------------------------------------------------------------------------+ 1413 |regcomp(GLIBC_2.0)|regerror |regexec(GLIBC_2.0)|regfree(GLIBC_2.0)| | 1414 |[1] |(GLIBC_2.0) [1] |[1] |[1] | | 1415 +-----------------------------------------------------------------------------+ 1416 1417 Referenced Specification(s) 1418 1419 [1]. ISO POSIX (2003) 1420 1421 An LSB conforming implementation shall provide the architecture specific 1422 deprecated functions for Regular Expressions specified in Table 7-16, with the 1423 full functionality as described in the referenced underlying specification. 1424 1425 Note: These interfaces are deprecated, and applications should avoid using 1426 them. These interfaces may be withdrawn in future releases of this 1427 specification. 1428 1429 Table 7-16. libc - Regular Expressions Deprecated Function Interfaces 1430 1431 +------------------------------------------------------------------------------+ 1432 |advance(GLIBC_2.0) |re_comp(GLIBC_2.0) |re_exec(GLIBC_2.0) |step(GLIBC_2.0) | | 1433 |[1] |[1] |[1] |[1] | | 1434 +------------------------------------------------------------------------------+ 1435 1436 Referenced Specification(s) 1437 1438 [1]. SUSv2 1439 1440 An LSB conforming implementation shall provide the architecture specific 1441 deprecated data interfaces for Regular Expressions specified in Table 7-17, 1442 with the full functionality as described in the referenced underlying 1443 specification. 1444 1445 Note: These interfaces are deprecated, and applications should avoid using 1446 them. These interfaces may be withdrawn in future releases of this 1447 specification. 1448 1449 Table 7-17. libc - Regular Expressions Deprecated Data Interfaces 1450 1451 +---------------------------------------------------------------+ 1452 |loc1(GLIBC_2.0) [1]|loc2(GLIBC_2.0) [1]|locs(GLIBC_2.0) [1]| | | 1453 +---------------------------------------------------------------+ 1454 1455 Referenced Specification(s) 1456 1457 [1]. SUSv2 1458 1459 ------------------------------------------------------------------------------- 1460 1461 Character Type Functions 1462 1463 ------------------------------------------------------------------------------- 1464 1465 Interfaces for Character Type Functions 1466 1467 An LSB conforming implementation shall provide the architecture specific 1468 functions for Character Type Functions specified in Table 7-18, with the full 1469 functionality as described in the referenced underlying specification. 1470 1471 Table 7-18. libc - Character Type Functions Function Interfaces 1472 1473 +-----------------------------------------------------------------------------+ 1474 |__ctype_get_mb_cur_max|isdigit |iswalnum |iswlower |toascii | 1475 |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1476 | |[2] |[2] |[2] |[2] | 1477 |----------------------+------------+-------------+--------------+------------| 1478 |_tolower(GLIBC_2.0) |isgraph |iswalpha |iswprint |tolower | 1479 |[2] |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | 1480 | |[2] |[2] |[2] |[2] | 1481 |----------------------+------------+-------------+--------------+------------| 1482 |_toupper(GLIBC_2.0) |islower |iswblank |iswpunct |toupper | 1483 |[2] |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) | 1484 | |[2] |[2] |[2] |[2] | 1485 |----------------------+------------+-------------+--------------+------------| 1486 | |isprint |iswcntrl |iswspace | | 1487 |isalnum(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1488 | |[2] |[2] |[2] | | 1489 |----------------------+------------+-------------+--------------+------------| 1490 | |ispunct |iswctype |iswupper | | 1491 |isalpha(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1492 | |[2] |[2] |[2] | | 1493 |----------------------+------------+-------------+--------------+------------| 1494 | |isspace |iswdigit |iswxdigit | | 1495 |isascii(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1496 | |[2] |[2] |[2] | | 1497 |----------------------+------------+-------------+--------------+------------| 1498 | |isupper |iswgraph |isxdigit | | 1499 |iscntrl(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) | | 1500 | |[2] |[2] |[2] | | 1501 +-----------------------------------------------------------------------------+ 1502 1503 Referenced Specification(s) 1504 1505 [1]. this specification 1506 1507 [2]. ISO POSIX (2003) 1508 1509 ------------------------------------------------------------------------------- 1510 1511 Time Manipulation 1512 1513 ------------------------------------------------------------------------------- 1514 1515 Interfaces for Time Manipulation 1516 1517 An LSB conforming implementation shall provide the architecture specific 1518 functions for Time Manipulation specified in Table 7-19, with the full 1519 functionality as described in the referenced underlying specification. 1520 1521 Table 7-19. libc - Time Manipulation Function Interfaces 1522 1523 +-----------------------------------------------------------------------------+ 1524 |adjtime |ctime |gmtime |localtime_r |ualarm | 1525 |(GLIBC_2.0) [1]|(GLIBC_2.0) |(GLIBC_2.0) [2]|(GLIBC_2.0) [2] |(GLIBC_2.0) | 1526 | |[2] | | |[2] | 1527 |---------------+--------------+---------------+----------------+-------------| 1528 |asctime |ctime_r |gmtime_r |mktime | | 1529 |(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) [2]|(GLIBC_2.0) [2] | | 1530 | |[2] | | | | 1531 |---------------+--------------+---------------+----------------+-------------| 1532 |asctime_r |difftime |localtime |tzset(GLIBC_2.0)| | 1533 |(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.0) [2]|[2] | | 1534 | |[2] | | | | 1535 +-----------------------------------------------------------------------------+ 1536 1537 Referenced Specification(s) 1538 1539 [1]. this specification 1540 1541 [2]. ISO POSIX (2003) 1542 1543 An LSB conforming implementation shall provide the architecture specific 1544 deprecated functions for Time Manipulation specified in Table 7-20, with the 1545 full functionality as described in the referenced underlying specification. 1546 1547 Note: These interfaces are deprecated, and applications should avoid using 1548 them. These interfaces may be withdrawn in future releases of this 1549 specification. 1550 1551 Table 7-20. libc - Time Manipulation Deprecated Function Interfaces 1552 1553 +--------------------------------+ 1554 |adjtimex(GLIBC_2.0) [1] | | | | | 1555 +--------------------------------+ 1556 1557 Referenced Specification(s) 1558 1559 [1]. this specification 1560 1561 An LSB conforming implementation shall provide the architecture specific data 1562 interfaces for Time Manipulation specified in Table 7-21, with the full 1563 functionality as described in the referenced underlying specification. 1564 1565 Table 7-21. libc - Time Manipulation Data Interfaces 1566 1567 +-----------------------------------------------------------------------------+ 1568 |__daylight(GLIBC_2.0) [1]|__tzname(GLIBC_2.0) [1]|timezone(GLIBC_2.0) [2]| | | 1569 |-------------------------+-----------------------+-----------------------+-+-| 1570 |__timezone(GLIBC_2.0) [1]|daylight(GLIBC_2.0) [2]|tzname(GLIBC_2.0) [2] | | | 1571 +-----------------------------------------------------------------------------+ 1572 1573 Referenced Specification(s) 1574 1575 [1]. this specification 1576 1577 [2]. ISO POSIX (2003) 1578 1579 ------------------------------------------------------------------------------- 1580 1581 Terminal Interface Functions 1582 1583 ------------------------------------------------------------------------------- 1584 1585 Interfaces for Terminal Interface Functions 1586 1587 An LSB conforming implementation shall provide the architecture specific 1588 functions for Terminal Interface Functions specified in Table 7-22, with the 1589 full functionality as described in the referenced underlying specification. 1590 1591 Table 7-22. libc - Terminal Interface Functions Function Interfaces 1592 1593 +----------------------------------------------------------------------------+ 1594 |cfgetispeed |cfsetispeed |tcdrain |tcgetattr |tcsendbreak | 1595 |(GLIBC_2.0) [1]|(GLIBC_2.0) [1]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [1]| 1596 | | |[1] |[1] | | 1597 |---------------+---------------+-------------+--------------+---------------| 1598 |cfgetospeed |cfsetospeed |tcflow |tcgetpgrp |tcsetattr | 1599 |(GLIBC_2.0) [1]|(GLIBC_2.0) [1]|(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.0) [1]| 1600 | | |[1] |[1] | | 1601 |---------------+---------------+-------------+--------------+---------------| 1602 |cfmakeraw |cfsetspeed |tcflush |tcgetsid |tcsetpgrp | 1603 |(GLIBC_2.0) [2]|(GLIBC_2.0) [2]|(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.0) [1]| 1604 | | |[1] |[1] | | 1605 +----------------------------------------------------------------------------+ 1606 1607 Referenced Specification(s) 1608 1609 [1]. ISO POSIX (2003) 1610 1611 [2]. this specification 1612 1613 ------------------------------------------------------------------------------- 1614 1615 System Database Interface 1616 1617 ------------------------------------------------------------------------------- 1618 1619 Interfaces for System Database Interface 1620 1621 An LSB conforming implementation shall provide the architecture specific 1622 functions for System Database Interface specified in Table 7-23, with the full 1623 functionality as described in the referenced underlying specification. 1624 1625 Table 7-23. libc - System Database Interface Function Interfaces 1626 1627 +------------------------------------------------------------------------------+ 1628 |endgrent |getgrgid |getprotobynumber|getservbyport |setgrent | 1629 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) [1] |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1630 |[1] | | | |[1] | 1631 |--------------+---------------+----------------+---------------+--------------| 1632 |endnetent |getgrgid_r |getprotoent |getservent |setgroups | 1633 |(GLIBC_2.0) |(GLIBC_2.1.2) |(GLIBC_2.0) [1] |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1634 |[1] |[1] | | |[2] | 1635 |--------------+---------------+----------------+---------------+--------------| 1636 |endprotoent |getgrnam |getpwent |getutent |setnetent | 1637 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) [1] |(GLIBC_2.0) [2]|(GLIBC_2.0) | 1638 |[1] | | | |[1] | 1639 |--------------+---------------+----------------+---------------+--------------| 1640 |endpwent |getgrnam_r |getpwnam |getutent_r |setprotoent | 1641 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) [1] |(GLIBC_2.0) [2]|(GLIBC_2.0) | 1642 |[1] | | | |[1] | 1643 |--------------+---------------+----------------+---------------+--------------| 1644 |endservent |gethostbyaddr |getpwnam_r |getutxent |setpwent | 1645 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.1.2) |(GLIBC_2.1) [1]|(GLIBC_2.0) | 1646 |[1] | |[1] | |[1] | 1647 |--------------+---------------+----------------+---------------+--------------| 1648 |endutent |gethostbyname |getpwuid |getutxid |setservent | 1649 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) [1] |(GLIBC_2.1) [1]|(GLIBC_2.0) | 1650 |[3] | | | |[1] | 1651 |--------------+---------------+----------------+---------------+--------------| 1652 |endutxent |getnetbyaddr |getpwuid_r |getutxline |setutent | 1653 |(GLIBC_2.1) |(GLIBC_2.0) [1]|(GLIBC_2.1.2) |(GLIBC_2.1) [1]|(GLIBC_2.0) | 1654 |[1] | |[1] | |[2] | 1655 |--------------+---------------+----------------+---------------+--------------| 1656 |getgrent |getprotobyname |getservbyname |pututxline |setutxent | 1657 |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) [1] |(GLIBC_2.1) [1]|(GLIBC_2.1) | 1658 |[1] | | | |[1] | 1659 +------------------------------------------------------------------------------+ 1660 1661 Referenced Specification(s) 1662 1663 [1]. ISO POSIX (2003) 1664 1665 [2]. this specification 1666 1667 [3]. SUSv2 1668 1669 ------------------------------------------------------------------------------- 1670 1671 Language Support 1672 1673 ------------------------------------------------------------------------------- 1674 1675 Interfaces for Language Support 1676 1677 An LSB conforming implementation shall provide the architecture specific 1678 functions for Language Support specified in Table 7-24, with the full 1679 functionality as described in the referenced underlying specification. 1680 1681 Table 7-24. libc - Language Support Function Interfaces 1682 1683 +-----------------------------------------------------------------------------+ 1684 |__libc_start_main |_obstack_begin |_obstack_newchunk |obstack_free | | 1685 |(GLIBC_2.0) [1] |(GLIBC_2.0) [1] |(GLIBC_2.0) [1] |(GLIBC_2.0) [1] | | 1686 +-----------------------------------------------------------------------------+ 1687 1688 Referenced Specification(s) 1689 1690 [1]. this specification 1691 1692 ------------------------------------------------------------------------------- 1693 1694 Large File Support 1695 1696 ------------------------------------------------------------------------------- 1697 1698 Interfaces for Large File Support 1699 1700 An LSB conforming implementation shall provide the architecture specific 1701 functions for Large File Support specified in Table 7-25, with the full 1702 functionality as described in the referenced underlying specification. 1703 1704 Table 7-25. libc - Large File Support Function Interfaces 1705 1706 +------------------------------------------------------------------------------+ 1707 |__fxstat64 |fopen64 |ftello64 |lseek64 |readdir64 | 1708 |(GLIBC_2.2) [1]|(GLIBC_2.1) [2]|(GLIBC_2.1) [2]|(GLIBC_2.1) |(GLIBC_2.2) [2]| 1709 | | | |[2] | | 1710 |---------------+---------------+---------------+--------------+---------------| 1711 |__lxstat64 |freopen64 |ftruncate64 |mkstemp64 |statvfs64 | 1712 |(GLIBC_2.2) [1]|(GLIBC_2.1) [2]|(GLIBC_2.1) [2]|(GLIBC_2.2) |(GLIBC_2.1) [2]| 1713 | | | |[2] | | 1714 |---------------+---------------+---------------+--------------+---------------| 1715 |__xstat64 |fseeko64 |ftw64 |mmap64 |tmpfile64 | 1716 |(GLIBC_2.2) [1]|(GLIBC_2.1) [2]|(GLIBC_2.1) [2]|(GLIBC_2.1) |(GLIBC_2.1) [2]| 1717 | | | |[2] | | 1718 |---------------+---------------+---------------+--------------+---------------| 1719 |creat64 |fsetpos64 |getrlimit64 |nftw64 |truncate64 | 1720 |(GLIBC_2.1) [2]|(GLIBC_2.2) [2]|(GLIBC_2.2) [2]|(GLIBC_2.1) |(GLIBC_2.1) [2]| 1721 | | | |[2] | | 1722 |---------------+---------------+---------------+--------------+---------------| 1723 |fgetpos64 |fstatvfs64 |lockf64 |open64 | | 1724 |(GLIBC_2.2) [2]|(GLIBC_2.1) [2]|(GLIBC_2.1) [2]|(GLIBC_2.1) | | 1725 | | | |[2] | | 1726 +------------------------------------------------------------------------------+ 1727 1728 Referenced Specification(s) 1729 1730 [1]. this specification 1731 1732 [2]. Large File Support 1733 1734 ------------------------------------------------------------------------------- 1735 1736 Standard Library 1737 1738 ------------------------------------------------------------------------------- 1739 1740 Interfaces for Standard Library 1741 1742 An LSB conforming implementation shall provide the architecture specific 1743 functions for Standard Library specified in Table 7-26, with the full 1744 functionality as described in the referenced underlying specification. 1745 1746 Table 7-26. libc - Standard Library Function Interfaces 1747 1748 +-----------------------------------------------------------------------------+ 1749 |_Exit |dirname |glob |lsearch |srand | 1750 |(GLIBC_2.1.1) |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1751 |[1] | |[1] | |[1] | 1752 |----------------+----------------+-------------+---------------+-------------| 1753 |__assert_fail |div(GLIBC_2.0) |glob64 |makecontext |srand48 | 1754 |(GLIBC_2.0) [2] |[1] |(GLIBC_2.1) |(GLIBC_2.1) [1]|(GLIBC_2.0) | 1755 | | |[2] | |[1] | 1756 |----------------+----------------+-------------+---------------+-------------| 1757 |__cxa_atexit |drand48 |globfree |malloc |srandom | 1758 |(GLIBC_2.1.3) |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1759 |[2] | |[1] | |[1] | 1760 |----------------+----------------+-------------+---------------+-------------| 1761 |__errno_location|ecvt(GLIBC_2.0) |globfree64 |memmem |strtod | 1762 |(GLIBC_2.0) [2] |[1] |(GLIBC_2.1) |(GLIBC_2.0) [2]|(GLIBC_2.0) | 1763 | | |[2] | |[1] | 1764 |----------------+----------------+-------------+---------------+-------------| 1765 |__fpending |erand48 |grantpt |mkstemp |strtol | 1766 |(GLIBC_2.2) [2] |(GLIBC_2.0) [1] |(GLIBC_2.1) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1767 | | |[1] | |[1] | 1768 |----------------+----------------+-------------+---------------+-------------| 1769 |__getpagesize |err(GLIBC_2.0) |hcreate |mktemp |strtoul | 1770 |(GLIBC_2.0) [2] |[2] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1771 | | |[1] | |[1] | 1772 |----------------+----------------+-------------+---------------+-------------| 1773 |__isinf |error(GLIBC_2.0)|hdestroy |mrand48 |swapcontext | 1774 |(GLIBC_2.0) [2] |[2] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.1) | 1775 | | |[1] | |[1] | 1776 |----------------+----------------+-------------+---------------+-------------| 1777 |__isinff |errx(GLIBC_2.0) |hsearch |nftw(GLIBC_2.1)|syslog | 1778 |(GLIBC_2.0) [2] |[2] |(GLIBC_2.0) |[1] |(GLIBC_2.0) | 1779 | | |[1] | |[1] | 1780 |----------------+----------------+-------------+---------------+-------------| 1781 |__isinfl |fcvt(GLIBC_2.0) |htonl |nrand48 |system | 1782 |(GLIBC_2.0) [2] |[1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1783 | | |[1] | |[2] | 1784 |----------------+----------------+-------------+---------------+-------------| 1785 |__isnan |fmtmsg |htons |ntohl |tdelete | 1786 |(GLIBC_2.0) [2] |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1787 | | |[1] | |[1] | 1788 |----------------+----------------+-------------+---------------+-------------| 1789 |__isnanf |fnmatch |imaxabs |ntohs |tfind | 1790 |(GLIBC_2.0) [2] |(GLIBC_2.2.3) |(GLIBC_2.1.1)|(GLIBC_2.0) [1]|(GLIBC_2.0) | 1791 | |[1] |[1] | |[1] | 1792 |----------------+----------------+-------------+---------------+-------------| 1793 |__isnanl |fpathconf |imaxdiv |openlog |tmpfile | 1794 |(GLIBC_2.0) [2] |(GLIBC_2.0) [1] |(GLIBC_2.1.1)|(GLIBC_2.0) [1]|(GLIBC_2.1) | 1795 | | |[1] | |[1] | 1796 |----------------+----------------+-------------+---------------+-------------| 1797 |__sysconf |free(GLIBC_2.0) |inet_addr |perror |tmpnam | 1798 |(GLIBC_2.2) [2] |[1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1799 | | |[1] | |[1] | 1800 |----------------+----------------+-------------+---------------+-------------| 1801 |_exit(GLIBC_2.0)|freeaddrinfo |inet_ntoa |posix_memalign |tsearch | 1802 |[1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.2) [1]|(GLIBC_2.0) | 1803 | | |[1] | |[1] | 1804 |----------------+----------------+-------------+---------------+-------------| 1805 |_longjmp |ftrylockfile |inet_ntop |ptsname |ttyname | 1806 |(GLIBC_2.0) [1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.1) [1]|(GLIBC_2.0) | 1807 | | |[1] | |[1] | 1808 |----------------+----------------+-------------+---------------+-------------| 1809 |_setjmp |ftw(GLIBC_2.0) |inet_pton |putenv |ttyname_r | 1810 |(GLIBC_2.0) [1] |[1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1811 | | |[1] | |[1] | 1812 |----------------+----------------+-------------+---------------+-------------| 1813 |a64l(GLIBC_2.0) |funlockfile |initstate |qsort |twalk | 1814 |[1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1815 | | |[1] | |[1] | 1816 |----------------+----------------+-------------+---------------+-------------| 1817 |abort(GLIBC_2.0)|gai_strerror |insque |rand(GLIBC_2.0)|unlockpt | 1818 |[1] |(GLIBC_2.1) [1] |(GLIBC_2.0) |[1] |(GLIBC_2.1) | 1819 | | |[1] | |[1] | 1820 |----------------+----------------+-------------+---------------+-------------| 1821 |abs(GLIBC_2.0) |gcvt(GLIBC_2.0) |isatty |rand_r |unsetenv | 1822 |[1] |[1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1823 | | |[1] | |[1] | 1824 |----------------+----------------+-------------+---------------+-------------| 1825 |atof(GLIBC_2.0) |getaddrinfo |isblank |random |usleep | 1826 |[1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1827 | | |[1] | |[1] | 1828 |----------------+----------------+-------------+---------------+-------------| 1829 |atoi(GLIBC_2.0) |getcwd |jrand48 |random_r |verrx | 1830 |[1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [2]|(GLIBC_2.0) | 1831 | | |[1] | |[2] | 1832 |----------------+----------------+-------------+---------------+-------------| 1833 |atol(GLIBC_2.0) |getdate |l64a |realloc |vfscanf | 1834 |[1] |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1835 | | |[1] | |[1] | 1836 |----------------+----------------+-------------+---------------+-------------| 1837 |atoll(GLIBC_2.0)|getenv |labs |realpath |vscanf | 1838 |[1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.3) [1]|(GLIBC_2.0) | 1839 | | |[1] | |[1] | 1840 |----------------+----------------+-------------+---------------+-------------| 1841 |basename |getlogin |lcong48 |remque |vsscanf | 1842 |(GLIBC_2.0) [1] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1843 | | |[1] | |[1] | 1844 |----------------+----------------+-------------+---------------+-------------| 1845 |bsearch |getnameinfo |ldiv |seed48 |vsyslog | 1846 |(GLIBC_2.0) [1] |(GLIBC_2.1) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1847 | | |[1] | |[2] | 1848 |----------------+----------------+-------------+---------------+-------------| 1849 |calloc |getopt |lfind |setenv |warn | 1850 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.0) | 1851 | | |[1] | |[2] | 1852 |----------------+----------------+-------------+---------------+-------------| 1853 |closelog |getopt_long |llabs |sethostid |warnx | 1854 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) |(GLIBC_2.0) [2]|(GLIBC_2.0) | 1855 | | |[1] | |[2] | 1856 |----------------+----------------+-------------+---------------+-------------| 1857 |confstr |getopt_long_only|lldiv |sethostname |wordexp | 1858 |(GLIBC_2.0) [1] |(GLIBC_2.0) [2] |(GLIBC_2.0) |(GLIBC_2.0) [2]|(GLIBC_2.1) | 1859 | | |[1] | |[1] | 1860 |----------------+----------------+-------------+---------------+-------------| 1861 |cuserid |getsubopt |longjmp |setlogmask |wordfree | 1862 |(GLIBC_2.0) [3] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]|(GLIBC_2.1) | 1863 | | |[1] | |[1] | 1864 |----------------+----------------+-------------+---------------+-------------| 1865 |daemon |gettimeofday |lrand48 |setstate | | 1866 |(GLIBC_2.0) [2] |(GLIBC_2.0) [1] |(GLIBC_2.0) |(GLIBC_2.0) [1]| | 1867 | | |[1] | | | 1868 +-----------------------------------------------------------------------------+ 1869 1870 Referenced Specification(s) 1871 1872 [1]. ISO POSIX (2003) 1873 1874 [2]. this specification 1875 1876 [3]. SUSv2 1877 1878 An LSB conforming implementation shall provide the architecture specific data 1879 interfaces for Standard Library specified in Table 7-27, with the full 1880 functionality as described in the referenced underlying specification. 1881 1882 Table 7-27. libc - Standard Library Data Interfaces 1883 1884 +-----------------------------------------------------------------------------+ 1885 |__environ |_sys_errlist |getdate_err |opterr |optopt | 1886 |(GLIBC_2.0) [1]|(GLIBC_2.1) [1] |(GLIBC_2.1) [2] |(GLIBC_2.0) |(GLIBC_2.0) | 1887 | | | |[1] |[1] | 1888 |---------------+----------------+----------------+-------------+-------------| 1889 |_environ |environ |optarg |optind | | 1890 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0) | | 1891 | | | |[1] | | 1892 +-----------------------------------------------------------------------------+ 1893 1894 Referenced Specification(s) 1895 1896 [1]. this specification 1897 1898 [2]. ISO POSIX (2003) 1899 1900 ------------------------------------------------------------------------------- 1901 1902 Data Definitions for libc 1903 1904 This section defines global identifiers and their values that are associated 1905 with interfaces contained in libc. These definitions are organized into groups 1906 that correspond to system headers. This convention is used as a convenience for 1907 the reader, and does not imply the existence of these headers, or their 1908 content. 1909 1910 These definitions are intended to supplement those provided in the referenced 1911 underlying specifications. 1912 1913 This specification uses ISO/IEC 9899 C Language as the reference programming 1914 language, and data definitions are specified in ISO C format. The C language is 1915 used here as a convenient notation. Using a C language description of these 1916 data objects does not preclude their use by other programming languages. 1917 1918 ------------------------------------------------------------------------------- 1919 1920 errno.h 1921 1922 #define EDEADLOCK EDEADLK 1923 1924 ------------------------------------------------------------------------------- 1925 1926 inttypes.h 1927 1928 typedef unsigned long long uint64_t; 1929 typedef long long intmax_t; 1930 typedef unsigned long long uintmax_t; 1931 typedef unsigned int uintptr_t; 1932 1933 ------------------------------------------------------------------------------- 1934 1935 limits.h 1936 1937 #define ULONG_MAX 0xFFFFFFFFUL 1938 #define LONG_MAX 2147483647 1939 1940 #define CHAR_MIN 0 1941 #define CHAR_MAX 255 1942 1943 ------------------------------------------------------------------------------- 1944 1945 setjmp.h 1946 1947 typedef int __jmp_buf[14]; 1948 1949 ------------------------------------------------------------------------------- 1950 1951 signal.h 1952 1953 #define __NUM_ACRS 16 1954 #define __NUM_FPRS 16 1955 #define __NUM_GPRS 16 1956 1957 typedef struct 1958 { 1959 unsigned long mask; 1960 unsigned long addr; 1961 } 1962 __attribute__ ((aligned (8))) _psw_t; 1963 typedef struct 1964 { 1965 _psw_t psw; 1966 unsigned long gprs[__NUM_GPRS]; 1967 unsigned int acrs[__NUM_ACRS]; 1968 } 1969 _s390_regs_common; 1970 1971 struct sigaction 1972 { 1973 union 1974 { 1975 sighandler_t _sa_handler; 1976 void (*_sa_sigaction) (int, siginfo_t *, void *); 1977 } 1978 __sigaction_handler; 1979 sigset_t sa_mask; 1980 unsigned long sa_flags; 1981 void (*sa_restorer) (void); 1982 } 1983 ; 1984 #define MINSIGSTKSZ 2048 1985 #define SIGSTKSZ 8192 1986 1987 typedef struct 1988 { 1989 unsigned int fpc; 1990 double fprs[__NUM_FPRS]; 1991 } 1992 _s390_fp_regs; 1993 typedef struct 1994 { 1995 _s390_regs_common regs; 1996 _s390_fp_regs fpregs; 1997 } 1998 _sigregs; 1999 2000 struct sigcontext 2001 { 2002 unsigned long oldmask[2]; 2003 _sigregs *sregs; 2004 } 2005 ; 2006 2007 ------------------------------------------------------------------------------- 2008 2009 stddef.h 2010 2011 typedef unsigned long size_t; 2012 typedef int ptrdiff_t; 2013 2014 ------------------------------------------------------------------------------- 2015 2016 sys/ioctl.h 2017 2018 #define FIONREAD 0x541B 2019 #define TIOCNOTTY 21538 2020 2021 ------------------------------------------------------------------------------- 2022 2023 sys/ipc.h 2024 2025 struct ipc_perm 2026 { 2027 key_t __key; 2028 uid_t uid; 2029 gid_t gid; 2030 uid_t cuid; 2031 uid_t cgid; 2032 unsigned short mode; 2033 unsigned short __pad1; 2034 unsigned short __seq; 2035 unsigned short __pad2; 2036 unsigned long __unused1; 2037 unsigned long __unused2; 2038 } 2039 ; 2040 2041 ------------------------------------------------------------------------------- 2042 2043 sys/mman.h 2044 2045 #define MCL_CURRENT 1 2046 #define MCL_FUTURE 2 2047 2048 ------------------------------------------------------------------------------- 2049 2050 sys/msg.h 2051 2052 typedef unsigned long msglen_t; 2053 typedef unsigned long msgqnum_t; 2054 2055 struct msqid_ds 2056 { 2057 struct ipc_perm msg_perm; 2058 time_t msg_stime; 2059 unsigned long __unused1; 2060 time_t msg_rtime; 2061 unsigned long __unused2; 2062 time_t msg_ctime; 2063 unsigned long __unused3; 2064 unsigned long __msg_cbytes; 2065 msgqnum_t msg_qnum; 2066 msglen_t msg_qbytes; 2067 pid_t msg_lspid; 2068 pid_t msg_lrpid; 2069 unsigned long __unused4; 2070 unsigned long __unused5; 2071 } 2072 ; 2073 2074 ------------------------------------------------------------------------------- 2075 2076 sys/sem.h 2077 2078 struct semid_ds 2079 { 2080 struct ipc_perm sem_perm; 2081 time_t sem_otime; 2082 unsigned long __unused1; 2083 time_t sem_ctime; 2084 unsigned long __unused2; 2085 unsigned long sem_nsems; 2086 unsigned long __unused3; 2087 unsigned long __unused4; 2088 } 2089 ; 2090 2091 ------------------------------------------------------------------------------- 2092 2093 sys/shm.h 2094 2095 #define SHMLBA (__getpagesize()) 2096 2097 typedef unsigned long shmatt_t; 2098 2099 struct shmid_ds 2100 { 2101 struct ipc_perm shm_perm; 2102 size_t shm_segsz; 2103 time_t shm_atime; 2104 unsigned long __unused1; 2105 time_t shm_dtime; 2106 unsigned long __unused2; 2107 time_t shm_ctime; 2108 unsigned long __unused3; 2109 pid_t shm_cpid; 2110 pid_t shm_lpid; 2111 shmatt_t shm_nattch; 2112 unsigned long __unused4; 2113 unsigned long __unused5; 2114 } 2115 ; 2116 2117 ------------------------------------------------------------------------------- 2118 2119 sys/socket.h 2120 2121 typedef uint32_t __ss_aligntype; 2122 2123 ------------------------------------------------------------------------------- 2124 2125 sys/stat.h 2126 2127 #define _STAT_VER 3 2128 2129 struct stat 2130 { 2131 dev_t st_dev; 2132 unsigned int __pad1; 2133 ino_t st_ino; 2134 mode_t st_mode; 2135 nlink_t st_nlink; 2136 uid_t st_uid; 2137 gid_t st_gid; 2138 dev_t st_rdev; 2139 unsigned int __pad2; 2140 off_t st_size; 2141 blksize_t st_blksize; 2142 blkcnt_t st_blocks; 2143 struct timespec st_atim; 2144 struct timespec st_mtim; 2145 struct timespec st_ctim; 2146 unsigned long __unused4; 2147 unsigned long __unused5; 2148 } 2149 ; 2150 struct stat64 2151 { 2152 dev_t st_dev; 2153 int __pad1; 2154 ino_t __st_ino; 2155 mode_t st_mode; 2156 nlink_t st_nlink; 2157 uid_t st_uid; 2158 gid_t st_gid; 2159 dev_t st_rdev; 2160 int __pad2; 2161 off64_t st_size; 2162 blksize_t st_blksize; 2163 blkcnt64_t st_blocks; 2164 struct timespec st_atim; 2165 struct timespec st_mtim; 2166 struct timespec st_ctim; 2167 ino64_t st_ino; 2168 } 2169 ; 2170 2171 ------------------------------------------------------------------------------- 2172 2173 sys/statvfs.h 2174 2175 struct statvfs 2176 { 2177 unsigned long f_bsize; 2178 unsigned long f_frsize; 2179 fsblkcnt_t f_blocks; 2180 fsblkcnt_t f_bfree; 2181 fsblkcnt_t f_bavail; 2182 fsfilcnt_t f_files; 2183 fsfilcnt_t f_ffree; 2184 fsfilcnt_t f_favail; 2185 unsigned long f_fsid; 2186 int __f_unused; 2187 unsigned long f_flag; 2188 unsigned long f_namemax; 2189 int __f_spare[6]; 2190 } 2191 ; 2192 struct statvfs64 2193 { 2194 unsigned long f_bsize; 2195 unsigned long f_frsize; 2196 fsblkcnt64_t f_blocks; 2197 fsblkcnt64_t f_bfree; 2198 fsblkcnt64_t f_bavail; 2199 fsfilcnt64_t f_files; 2200 fsfilcnt64_t f_ffree; 2201 fsfilcnt64_t f_favail; 2202 unsigned long f_fsid; 2203 int __f_unused; 2204 unsigned long f_flag; 2205 unsigned long f_namemax; 2206 int __f_spare[6]; 2207 } 2208 ; 2209 2210 ------------------------------------------------------------------------------- 2211 2212 sys/types.h 2213 2214 typedef long long int64_t; 2215 2216 typedef int32_t ssize_t; 2217 2218 ------------------------------------------------------------------------------- 2219 2220 termios.h 2221 2222 #define OLCUC 0000002 2223 #define ONLCR 0000004 2224 #define XCASE 0000004 2225 #define NLDLY 0000400 2226 #define CR1 0001000 2227 #define IUCLC 0001000 2228 #define CR2 0002000 2229 #define CR3 0003000 2230 #define CRDLY 0003000 2231 #define TAB1 0004000 2232 #define TAB2 0010000 2233 #define TAB3 0014000 2234 #define TABDLY 0014000 2235 #define BS1 0020000 2236 #define BSDLY 0020000 2237 #define VT1 0040000 2238 #define VTDLY 0040000 2239 #define FF1 0100000 2240 #define FFDLY 0100000 2241 2242 #define VSUSP 10 2243 #define VEOL 11 2244 #define VREPRINT 12 2245 #define VDISCARD 13 2246 #define VWERASE 14 2247 #define VEOL2 16 2248 #define VMIN 6 2249 #define VSWTC 7 2250 #define VSTART 8 2251 #define VSTOP 9 2252 2253 #define IXON 0002000 2254 #define IXOFF 0010000 2255 2256 #define CS6 0000020 2257 #define CS7 0000040 2258 #define CS8 0000060 2259 #define CSIZE 0000060 2260 #define CSTOPB 0000100 2261 #define CREAD 0000200 2262 #define PARENB 0000400 2263 #define PARODD 0001000 2264 #define HUPCL 0002000 2265 #define CLOCAL 0004000 2266 #define VTIME 5 2267 2268 #define ISIG 0000001 2269 #define ICANON 0000002 2270 #define ECHOE 0000020 2271 #define ECHOK 0000040 2272 #define ECHONL 0000100 2273 #define NOFLSH 0000200 2274 #define TOSTOP 0000400 2275 #define ECHOCTL 0001000 2276 #define ECHOPRT 0002000 2277 #define ECHOKE 0004000 2278 #define FLUSHO 0010000 2279 #define PENDIN 0040000 2280 #define IEXTEN 0100000 2281 2282 ------------------------------------------------------------------------------- 2283 2284 ucontext.h 2285 2286 #define NGREG 36 2287 2288 typedef union 2289 { 2290 double d; 2291 float f; 2292 } 2293 fpreg_t; 2294 2295 typedef struct 2296 { 2297 unsigned int fpc; 2298 fpreg_t fprs[16]; 2299 } 2300 fpregset_t; 2301 2302 typedef struct 2303 { 2304 _psw_t psw; 2305 unsigned long gregs[16]; 2306 unsigned int aregs[16]; 2307 fpregset_t fpregs; 2308 } 2309 mcontext_t; 2310 2311 typedef struct ucontext 2312 { 2313 unsigned long uc_flags; 2314 struct ucontext *uc_link; 2315 stack_t uc_stack; 2316 mcontext_t uc_mcontext; 2317 sigset_t uc_sigmask; 2318 } 2319 ucontext_t; 2320 2321 ------------------------------------------------------------------------------- 2322 2323 unistd.h 2324 2325 typedef int intptr_t; 2326 2327 ------------------------------------------------------------------------------- 2328 2329 utmp.h 2330 2331 struct lastlog 2332 { 2333 time_t ll_time; 2334 char ll_line[UT_LINESIZE]; 2335 char ll_host[UT_HOSTSIZE]; 2336 } 2337 ; 2338 2339 struct utmp 2340 { 2341 short ut_type; 2342 pid_t ut_pid; 2343 char ut_line[UT_LINESIZE]; 2344 char ut_id[4]; 2345 char ut_user[UT_NAMESIZE]; 2346 char ut_host[UT_HOSTSIZE]; 2347 struct exit_status ut_exit; 2348 long ut_session; 2349 struct timeval ut_tv; 2350 int32_t ut_addr_v6[4]; 2351 char __unused[20]; 2352 } 2353 ; 2354 2355 ------------------------------------------------------------------------------- 2356 2357 utmpx.h 2358 2359 struct utmpx 2360 { 2361 short ut_type; 2362 pid_t ut_pid; 2363 char ut_line[UT_LINESIZE]; 2364 char ut_id[4]; 2365 char ut_user[UT_NAMESIZE]; 2366 char ut_host[UT_HOSTSIZE]; 2367 struct exit_status ut_exit; 2368 long ut_session; 2369 struct timeval ut_tv; 2370 int32_t ut_addr_v6[4]; 2371 char __unused[20]; 2372 } 2373 ; 2374 2375 ------------------------------------------------------------------------------- 2376 2377 Interfaces for libm 2378 2379 Table 7-28 defines the library name and shared object name for the libm library 2380 2381 Table 7-28. libm Definition 2382 2383 +-------------------+ 2384 |Library:|libm | 2385 |--------+----------| 2386 |SONAME: |libm.so.6 | 2387 +-------------------+ 2388 2389 The behavior of the interfaces in this library is specified by the following 2390 specifications: 2391 2392 ISO C (1999) 2393 SUSv2 2394 ISO POSIX (2003) 2395 2396 ------------------------------------------------------------------------------- 2397 2398 Math 2399 2400 ------------------------------------------------------------------------------- 2401 2402 Interfaces for Math 2403 2404 An LSB conforming implementation shall provide the architecture specific 2405 functions for Math specified in Table 7-29, with the full functionality as 2406 described in the referenced underlying specification. 2407 2408 Table 7-29. libm - Math Function Interfaces 2409 2410 +-----------------------------------------------------------------------------+ 2411 |acos |cexp |expf(GLIBC_2.0) |jnf(GLIBC_2.0) |remquof | 2412 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |[2] |(GLIBC_2.1) [1]| 2413 |[1] |[1] | | | | 2414 |------------+--------------+-----------------+---------------+---------------| 2415 |acosf |cexpf |expl(GLIBC_2.0) |jnl(GLIBC_2.0) |remquol | 2416 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |[2] |(GLIBC_2.1) [1]| 2417 |[1] |[1] | | | | 2418 |------------+--------------+-----------------+---------------+---------------| 2419 |acosh |cexpl |expm1(GLIBC_2.0) |ldexp |rint(GLIBC_2.0)| 2420 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|[1] | 2421 |[1] |[1] | | | | 2422 |------------+--------------+-----------------+---------------+---------------| 2423 |acoshf |cimag |fabs(GLIBC_2.0) |ldexpf |rintf | 2424 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|(GLIBC_2.0) [1]| 2425 |[1] |[1] | | | | 2426 |------------+--------------+-----------------+---------------+---------------| 2427 |acoshl |cimagf |fabsf(GLIBC_2.0) |ldexpl |rintl | 2428 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|(GLIBC_2.0) [1]| 2429 |[1] |[1] | | | | 2430 |------------+--------------+-----------------+---------------+---------------| 2431 |acosl |cimagl |fabsl(GLIBC_2.0) |lgamma |round | 2432 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| 2433 |[1] |[1] | | | | 2434 |------------+--------------+-----------------+---------------+---------------| 2435 |asin |clog |fdim(GLIBC_2.1) |lgamma_r |roundf | 2436 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [2]|(GLIBC_2.1) [1]| 2437 |[1] |[1] | | | | 2438 |------------+--------------+-----------------+---------------+---------------| 2439 |asinf |clog10 |fdimf(GLIBC_2.1) |lgammaf |roundl | 2440 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| 2441 |[1] |[2] | | | | 2442 |------------+--------------+-----------------+---------------+---------------| 2443 |asinh |clog10f |fdiml(GLIBC_2.1) |lgammaf_r |scalb | 2444 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [2]|(GLIBC_2.0) [1]| 2445 |[1] |[2] | | | | 2446 |------------+--------------+-----------------+---------------+---------------| 2447 |asinhf |clog10l |feclearexcept |lgammal |scalbf | 2448 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]| 2449 |[1] |[2] | | | | 2450 |------------+--------------+-----------------+---------------+---------------| 2451 |asinhl |clogf |fegetenv |lgammal_r |scalbl | 2452 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.0) [2]|(GLIBC_2.0) [2]| 2453 |[1] |[1] | | | | 2454 |------------+--------------+-----------------+---------------+---------------| 2455 |asinl |clogl |fegetexceptflag |llrint |scalbln | 2456 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2457 |[1] |[1] | | | | 2458 |------------+--------------+-----------------+---------------+---------------| 2459 |atan |conj |fegetround |llrintf |scalblnf | 2460 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2461 |[1] |[1] | | | | 2462 |------------+--------------+-----------------+---------------+---------------| 2463 |atan2 |conjf |feholdexcept |llrintl |scalblnl | 2464 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2465 |[1] |[1] | | | | 2466 |------------+--------------+-----------------+---------------+---------------| 2467 |atan2f |conjl |feraiseexcept |llround |scalbn | 2468 |(GLIBC_2.0) |(GLIBC_2.1) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2469 |[1] |[1] | | | | 2470 |------------+--------------+-----------------+---------------+---------------| 2471 |atan2l |copysign |fesetenv |llroundf |scalbnf | 2472 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2473 |[1] |[1] | | | | 2474 |------------+--------------+-----------------+---------------+---------------| 2475 |atanf |copysignf |fesetexceptflag |llroundl |scalbnl | 2476 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) [1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2477 |[1] |[1] | | | | 2478 |------------+--------------+-----------------+---------------+---------------| 2479 |atanh |copysignl |fesetround |log(GLIBC_2.0) |significand | 2480 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) [1] |[1] |(GLIBC_2.0) [2]| 2481 |[1] |[1] | | | | 2482 |------------+--------------+-----------------+---------------+---------------| 2483 |atanhf |cos(GLIBC_2.0)|fetestexcept |log10 |significandf | 2484 |(GLIBC_2.0) |[1] |(GLIBC_2.1) [1] |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]| 2485 |[1] | | | | | 2486 |------------+--------------+-----------------+---------------+---------------| 2487 |atanhl |cosf |feupdateenv |log10f |significandl | 2488 |(GLIBC_2.0) |(GLIBC_2.0) |(GLIBC_2.1) [1] |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]| 2489 |[1] |[1] | | | | 2490 |------------+--------------+-----------------+---------------+---------------| 2491 |atanl |cosh |finite(GLIBC_2.0)|log10l |sin(GLIBC_2.0) | 2492 |(GLIBC_2.0) |(GLIBC_2.0) |[3] |(GLIBC_2.0) [1]|[1] | 2493 |[1] |[1] | | | | 2494 |------------+--------------+-----------------+---------------+---------------| 2495 |cabs |coshf |finitef |log1p |sincos | 2496 |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) [2] |(GLIBC_2.0) [1]|(GLIBC_2.1) [2]| 2497 |[1] |[1] | | | | 2498 |------------+--------------+-----------------+---------------+---------------| 2499 |cabsf |coshl |finitel |logb(GLIBC_2.0)|sincosf | 2500 |(GLIBC_2.1) |(GLIBC_2.0) |(GLIBC_2.0) [2] |[1] |(GLIBC_2.1) [2]| 2501 |[1] |[1] | | | | 2502 |------------+--------------+-----------------+---------------+---------------| 2503 |cabsl |cosl |floor(GLIBC_2.0) |logf(GLIBC_2.0)|sincosl | 2504 |(GLIBC_2.1) |(GLIBC_2.0) |[1] |[1] |(GLIBC_2.1) [2]| 2505 |[1] |[1] | | | | 2506 |------------+--------------+-----------------+---------------+---------------| 2507 |cacos |cpow |floorf(GLIBC_2.0)|logl(GLIBC_2.0)|sinf(GLIBC_2.0)| 2508 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |[1] |[1] | 2509 |[1] |[1] | | | | 2510 |------------+--------------+-----------------+---------------+---------------| 2511 |cacosf |cpowf |floorl(GLIBC_2.0)|lrint |sinh(GLIBC_2.0)| 2512 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[1] | 2513 |[1] |[1] | | | | 2514 |------------+--------------+-----------------+---------------+---------------| 2515 |cacosh |cpowl |fma(GLIBC_2.1) |lrintf |sinhf | 2516 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2517 |[1] |[1] | | | | 2518 |------------+--------------+-----------------+---------------+---------------| 2519 |cacoshf |cproj |fmaf(GLIBC_2.1) |lrintl |sinhl | 2520 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2521 |[1] |[1] | | | | 2522 |------------+--------------+-----------------+---------------+---------------| 2523 |cacoshl |cprojf |fmal(GLIBC_2.1) |lround |sinl(GLIBC_2.0)| 2524 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[1] | 2525 |[1] |[1] | | | | 2526 |------------+--------------+-----------------+---------------+---------------| 2527 |cacosl |cprojl |fmax(GLIBC_2.1) |lroundf |sqrt(GLIBC_2.0)| 2528 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[1] | 2529 |[1] |[1] | | | | 2530 |------------+--------------+-----------------+---------------+---------------| 2531 |carg |creal |fmaxf(GLIBC_2.1) |lroundl |sqrtf | 2532 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.0) [1]| 2533 |[1] |[1] | | | | 2534 |------------+--------------+-----------------+---------------+---------------| 2535 |cargf |crealf |fmaxl(GLIBC_2.1) |matherr |sqrtl | 2536 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [2]|(GLIBC_2.0) [1]| 2537 |[1] |[1] | | | | 2538 |------------+--------------+-----------------+---------------+---------------| 2539 |cargl |creall |fmin(GLIBC_2.1) |modf(GLIBC_2.0)|tan(GLIBC_2.0) | 2540 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |[1] |[1] | 2541 |[1] |[1] | | | | 2542 |------------+--------------+-----------------+---------------+---------------| 2543 |casin |csin |fminf(GLIBC_2.1) |modff |tanf(GLIBC_2.0)| 2544 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|[1] | 2545 |[1] |[1] | | | | 2546 |------------+--------------+-----------------+---------------+---------------| 2547 |casinf |csinf |fminl(GLIBC_2.1) |modfl |tanh(GLIBC_2.0)| 2548 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.0) [1]|[1] | 2549 |[1] |[1] | | | | 2550 |------------+--------------+-----------------+---------------+---------------| 2551 |casinh |csinh |fmod(GLIBC_2.0) |nan(GLIBC_2.1) |tanhf | 2552 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |[1] |(GLIBC_2.0) [1]| 2553 |[1] |[1] | | | | 2554 |------------+--------------+-----------------+---------------+---------------| 2555 |casinhf |csinhf |fmodf(GLIBC_2.0) |nanf(GLIBC_2.1)|tanhl | 2556 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |[1] |(GLIBC_2.0) [1]| 2557 |[1] |[1] | | | | 2558 |------------+--------------+-----------------+---------------+---------------| 2559 |casinhl |csinhl |fmodl(GLIBC_2.0) |nanl(GLIBC_2.1)|tanl(GLIBC_2.0)| 2560 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |[1] |[1] | 2561 |[1] |[1] | | | | 2562 |------------+--------------+-----------------+---------------+---------------| 2563 |casinl |csinl |frexp(GLIBC_2.0) |nearbyint |tgamma | 2564 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2565 |[1] |[1] | | | | 2566 |------------+--------------+-----------------+---------------+---------------| 2567 |catan |csqrt |frexpf(GLIBC_2.0)|nearbyintf |tgammaf | 2568 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2569 |[1] |[1] | | | | 2570 |------------+--------------+-----------------+---------------+---------------| 2571 |catanf |csqrtf |frexpl(GLIBC_2.0)|nearbyintl |tgammal | 2572 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|(GLIBC_2.1) [1]| 2573 |[1] |[1] | | | | 2574 |------------+--------------+-----------------+---------------+---------------| 2575 |catanh |csqrtl |gamma(GLIBC_2.0) |nextafter |trunc | 2576 |(GLIBC_2.1) |(GLIBC_2.1) |[3] |(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| 2577 |[1] |[1] | | | | 2578 |------------+--------------+-----------------+---------------+---------------| 2579 |catanhf |ctan |gammaf(GLIBC_2.0)|nextafterf |truncf | 2580 |(GLIBC_2.1) |(GLIBC_2.1) |[2] |(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| 2581 |[1] |[1] | | | | 2582 |------------+--------------+-----------------+---------------+---------------| 2583 |catanhl |ctanf |gammal(GLIBC_2.0)|nextafterl |truncl | 2584 |(GLIBC_2.1) |(GLIBC_2.1) |[2] |(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| 2585 |[1] |[1] | | | | 2586 |------------+--------------+-----------------+---------------+---------------| 2587 |catanl |ctanh |hypot(GLIBC_2.0) |nexttoward |y0(GLIBC_2.0) | 2588 |(GLIBC_2.1) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[1] | 2589 |[1] |[1] | | | | 2590 |------------+--------------+-----------------+---------------+---------------| 2591 |cbrt |ctanhf |hypotf(GLIBC_2.0)|nexttowardf |y0f(GLIBC_2.0) | 2592 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[2] | 2593 |[1] |[1] | | | | 2594 |------------+--------------+-----------------+---------------+---------------| 2595 |cbrtf |ctanhl |hypotl(GLIBC_2.0)|nexttowardl |y0l(GLIBC_2.0) | 2596 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |(GLIBC_2.1) [1]|[2] | 2597 |[1] |[1] | | | | 2598 |------------+--------------+-----------------+---------------+---------------| 2599 |cbrtl |ctanl |ilogb(GLIBC_2.0) |pow(GLIBC_2.0) |y1(GLIBC_2.0) | 2600 |(GLIBC_2.0) |(GLIBC_2.1) |[1] |[1] |[1] | 2601 |[1] |[1] | | | | 2602 |------------+--------------+-----------------+---------------+---------------| 2603 |ccos |dremf |ilogbf(GLIBC_2.0)|pow10 |y1f(GLIBC_2.0) | 2604 |(GLIBC_2.1) |(GLIBC_2.0) |[1] |(GLIBC_2.1) [2]|[2] | 2605 |[1] |[2] | | | | 2606 |------------+--------------+-----------------+---------------+---------------| 2607 |ccosf |dreml |ilogbl(GLIBC_2.0)|pow10f |y1l(GLIBC_2.0) | 2608 |(GLIBC_2.1) |(GLIBC_2.0) |[1] |(GLIBC_2.1) [2]|[2] | 2609 |[1] |[2] | | | | 2610 |------------+--------------+-----------------+---------------+---------------| 2611 |ccosh |erf(GLIBC_2.0)| |pow10l |yn(GLIBC_2.0) | 2612 |(GLIBC_2.1) |[1] |j0(GLIBC_2.0) [1]|(GLIBC_2.1) [2]|[1] | 2613 |[1] | | | | | 2614 |------------+--------------+-----------------+---------------+---------------| 2615 |ccoshf |erfc |j0f(GLIBC_2.0) |powf(GLIBC_2.0)|ynf(GLIBC_2.0) | 2616 |(GLIBC_2.1) |(GLIBC_2.0) |[2] |[1] |[2] | 2617 |[1] |[1] | | | | 2618 |------------+--------------+-----------------+---------------+---------------| 2619 |ccoshl |erfcf |j0l(GLIBC_2.0) |powl(GLIBC_2.0)|ynl(GLIBC_2.0) | 2620 |(GLIBC_2.1) |(GLIBC_2.0) |[2] |[1] |[2] | 2621 |[1] |[1] | | | | 2622 |------------+--------------+-----------------+---------------+---------------| 2623 |ccosl |erfcl | |remainder | | 2624 |(GLIBC_2.1) |(GLIBC_2.0) |j1(GLIBC_2.0) [1]|(GLIBC_2.0) [1]| | 2625 |[1] |[1] | | | | 2626 |------------+--------------+-----------------+---------------+---------------| 2627 |ceil |erff |j1f(GLIBC_2.0) |remainderf | | 2628 |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) [1]| | 2629 |[1] |[1] | | | | 2630 |------------+--------------+-----------------+---------------+---------------| 2631 |ceilf |erfl |j1l(GLIBC_2.0) |remainderl | | 2632 |(GLIBC_2.0) |(GLIBC_2.0) |[2] |(GLIBC_2.0) [1]| | 2633 |[1] |[1] | | | | 2634 |------------+--------------+-----------------+---------------+---------------| 2635 |ceill |exp(GLIBC_2.0)| |remquo | | 2636 |(GLIBC_2.0) |[1] |jn(GLIBC_2.0) [1]|(GLIBC_2.1) [1]| | 2637 |[1] | | | | | 2638 +-----------------------------------------------------------------------------+ 2639 2640 Referenced Specification(s) 2641 2642 [1]. ISO POSIX (2003) 2643 2644 [2]. ISO C (1999) 2645 2646 [3]. SUSv2 2647 2648 An LSB conforming implementation shall provide the architecture specific data 2649 interfaces for Math specified in Table 7-30, with the full functionality as 2650 described in the referenced underlying specification. 2651 2652 Table 7-30. libm - Math Data Interfaces 2653 2654 +-------------------------------+ 2655 |signgam(GLIBC_2.0) [1] | | | | | 2656 +-------------------------------+ 2657 2658 Referenced Specification(s) 2659 2660 [1]. ISO POSIX (2003) 2661 2662 ------------------------------------------------------------------------------- 2663 2664 Interfaces for libpthread 2665 2666 Table 7-31 defines the library name and shared object name for the libpthread 2667 library 2668 2669 Table 7-31. libpthread Definition 2670 2671 +-------------------------+ 2672 |Library:|libpthread | 2673 |--------+----------------| 2674 |SONAME: |libpthread.so.0 | 2675 +-------------------------+ 2676 2677 The behavior of the interfaces in this library is specified by the following 2678 specifications: 2679 2680 Large File Support 2681 this specification 2682 ISO POSIX (2003) 2683 2684 ------------------------------------------------------------------------------- 2685 2686 Realtime Threads 2687 2688 ------------------------------------------------------------------------------- 2689 2690 Interfaces for Realtime Threads 2691 2692 No external functions are defined for libpthread - Realtime Threads 2693 2694 ------------------------------------------------------------------------------- 2695 2696 Advanced Realtime Threads 2697 2698 ------------------------------------------------------------------------------- 2699 2700 Interfaces for Advanced Realtime Threads 2701 2702 No external functions are defined for libpthread - Advanced Realtime Threads 2703 2704 ------------------------------------------------------------------------------- 2705 2706 Posix Threads 2707 2708 ------------------------------------------------------------------------------- 2709 2710 Interfaces for Posix Threads 2711 2712 An LSB conforming implementation shall provide the architecture specific 2713 functions for Posix Threads specified in Table 7-32, with the full 2714 functionality as described in the referenced underlying specification. 2715 2716 Table 7-32. libpthread - Posix Threads Function Interfaces 2717 2718 +-----------------------------------------------------------------------------------------------------------------------------------------+ 2719 |_pthread_cleanup_pop |pthread_cancel(GLIBC_2.0) |pthread_join(GLIBC_2.0) [2] |pthread_rwlock_destroy |pthread_setconcurrency| 2720 |(GLIBC_2.0) [1] |[2] | |(GLIBC_2.1) [2] |(GLIBC_2.1) [2] | 2721 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2722 |_pthread_cleanup_push |pthread_cond_broadcast |pthread_key_create |pthread_rwlock_init |pthread_setspecific | 2723 |(GLIBC_2.0) [1] |(GLIBC_2.3.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |(GLIBC_2.0) [2] | 2724 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2725 |pread(GLIBC_2.2) [2] |pthread_cond_destroy |pthread_key_delete |pthread_rwlock_rdlock |pthread_sigmask | 2726 | |(GLIBC_2.3.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |(GLIBC_2.0) [2] | 2727 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2728 |pread64(GLIBC_2.2) [3] |pthread_cond_init |pthread_kill(GLIBC_2.0) [2] |pthread_rwlock_timedrdlock |pthread_testcancel | 2729 | |(GLIBC_2.3.2) [2] | |(GLIBC_2.2) [2] |(GLIBC_2.0) [2] | 2730 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2731 |pthread_attr_destroy |pthread_cond_signal |pthread_mutex_destroy |pthread_rwlock_timedwrlock |pwrite(GLIBC_2.2) [2] | 2732 |(GLIBC_2.0) [2] |(GLIBC_2.3.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.2) [2] | | 2733 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2734 |pthread_attr_getdetachstate|pthread_cond_timedwait |pthread_mutex_init |pthread_rwlock_tryrdlock |pwrite64(GLIBC_2.2) | 2735 |(GLIBC_2.0) [2] |(GLIBC_2.3.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |[3] | 2736 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2737 |pthread_attr_getguardsize |pthread_cond_wait |pthread_mutex_lock |pthread_rwlock_trywrlock |sem_close(GLIBC_2.1.1)| 2738 |(GLIBC_2.1) [2] |(GLIBC_2.3.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |[2] | 2739 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2740 |pthread_attr_getschedparam |pthread_condattr_destroy |pthread_mutex_trylock |pthread_rwlock_unlock |sem_destroy(GLIBC_2.1)| 2741 |(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |[2] | 2742 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2743 |pthread_attr_getstackaddr |pthread_condattr_getpshared|pthread_mutex_unlock |pthread_rwlock_wrlock |sem_getvalue | 2744 |(GLIBC_2.1) [2] |(GLIBC_2.2) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |(GLIBC_2.1) [2] | 2745 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2746 |pthread_attr_getstacksize |pthread_condattr_init |pthread_mutexattr_destroy |pthread_rwlockattr_destroy |sem_init(GLIBC_2.1) | 2747 |(GLIBC_2.1) [2] |(GLIBC_2.0) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |[2] | 2748 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2749 |pthread_attr_init |pthread_condattr_setpshared|pthread_mutexattr_getpshared|pthread_rwlockattr_getpshared|sem_open(GLIBC_2.1.1) | 2750 |(GLIBC_2.1) [2] |(GLIBC_2.2) [2] |(GLIBC_2.2) [2] |(GLIBC_2.1) [2] |[2] | 2751 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2752 |pthread_attr_setdetachstate|pthread_create(GLIBC_2.1) |pthread_mutexattr_gettype |pthread_rwlockattr_init |sem_post(GLIBC_2.1) | 2753 |(GLIBC_2.0) [2] |[2] |(GLIBC_2.1) [2] |(GLIBC_2.1) [2] |[2] | 2754 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2755 |pthread_attr_setguardsize |pthread_detach(GLIBC_2.0) |pthread_mutexattr_init |pthread_rwlockattr_setpshared|sem_timedwait | 2756 |(GLIBC_2.1) [2] |[2] |(GLIBC_2.0) [2] |(GLIBC_2.1) [2] |(GLIBC_2.2) [2] | 2757 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2758 |pthread_attr_setschedparam |pthread_equal(GLIBC_2.0) |pthread_mutexattr_setpshared|pthread_self(GLIBC_2.0) [2] |sem_trywait(GLIBC_2.1)| 2759 |(GLIBC_2.0) [2] |[2] |(GLIBC_2.2) [2] | |[2] | 2760 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2761 |pthread_attr_setstackaddr |pthread_exit(GLIBC_2.0) [2]|pthread_mutexattr_settype |pthread_setcancelstate |sem_unlink | 2762 |(GLIBC_2.1) [2] | |(GLIBC_2.1) [2] |(GLIBC_2.0) [2] |(GLIBC_2.1.1) [2] | 2763 |---------------------------+---------------------------+----------------------------+-----------------------------+----------------------| 2764 |pthread_attr_setstacksize |pthread_getspecific |pthread_once(GLIBC_2.0) [2] |pthread_setcanceltype |sem_wait(GLIBC_2.1) | 2765 |(GLIBC_2.1) [2] |(GLIBC_2.0) [2] | |(GLIBC_2.0) [2] |[2] | 2766 +-----------------------------------------------------------------------------------------------------------------------------------------+ 2767 2768 Referenced Specification(s) 2769 2770 [1]. this specification 2771 2772 [2]. ISO POSIX (2003) 2773 2774 [3]. Large File Support 2775 2776 ------------------------------------------------------------------------------- 2777 2778 Interfaces for libgcc_s 2779 2780 Table 7-33 defines the library name and shared object name for the libgcc_s 2781 library 2782 2783 Table 7-33. libgcc_s Definition 2784 2785 +-----------------------+ 2786 |Library:|libgcc_s | 2787 |--------+--------------| 2788 |SONAME: |libgcc_s.so.1 | 2789 +-----------------------+ 2790 2791 The behavior of the interfaces in this library is specified by the following 2792 specifications: 2793 2794 this specification 2795 2796 ------------------------------------------------------------------------------- 2797 2798 Unwind Library 2799 2800 ------------------------------------------------------------------------------- 2801 2802 Interfaces for Unwind Library 2803 2804 An LSB conforming implementation shall provide the architecture specific 2805 functions for Unwind Library specified in Table 7-34, with the full 2806 functionality as described in the referenced underlying specification. 2807 2808 Table 7-34. libgcc_s - Unwind Library Function Interfaces 2809 2810 +-------------------------------------------------------------------------------------------------------------------+ 2811 |_Unwind_DeleteException|_Unwind_GetDataRelBase|_Unwind_GetLanguageSpecificData|_Unwind_RaiseException|_Unwind_SetIP| 2812 |(GCC_3.0) [1] |(GCC_3.0) [1] |(GCC_3.0) [1] |(GCC_3.0) [1] |(GCC_3.0) [1]| 2813 |-----------------------+----------------------+-------------------------------+----------------------+-------------| 2814 |_Unwind_Find_FDE |_Unwind_GetGR(GCC_3.0)|_Unwind_GetRegionStart(GCC_3.0)|_Unwind_Resume | | 2815 |(GCC_3.0) [1] |[1] |[1] |(GCC_3.0) [1] | | 2816 |-----------------------+----------------------+-------------------------------+----------------------+-------------| 2817 |_Unwind_ForcedUnwind |_Unwind_GetIP(GCC_3.0)|_Unwind_GetTextRelBase(GCC_3.0)|_Unwind_SetGR(GCC_3.0)| | 2818 |(GCC_3.0) [1] |[1] |[1] |[1] | | 2819 +-------------------------------------------------------------------------------------------------------------------+ 2820 2821 Referenced Specification(s) 2822 2823 [1]. this specification 2824 2825 ------------------------------------------------------------------------------- 2826 2827 Interface Definitions for libgcc_s 2828 2829 Table of Contents 2830 _Unwind_DeleteException -- private C++ error handling method 2831 _Unwind_Find_FDE -- private C++ error handling method 2832 _Unwind_ForcedUnwind -- private C++ error handling method 2833 _Unwind_GetDataRelBase -- private IA64 C++ error handling method 2834 _Unwind_GetGR -- private C++ error handling method 2835 _Unwind_GetIP -- private C++ error handling method 2836 _Unwind_GetLanguageSpecificData -- private C++ error handling method 2837 _Unwind_GetRegionStart -- private C++ error handling method 2838 _Unwind_GetTextRelBase -- private IA64 C++ error handling method 2839 _Unwind_RaiseException -- private C++ error handling method 2840 _Unwind_Resume -- private C++ error handling method 2841 _Unwind_SetGR -- private C++ error handling method 2842 _Unwind_SetIP -- private C++ error handling method 2843 2844 The following interfaces are included in libgcc_s and are defined by this 2845 specification. Unless otherwise noted, these interfaces shall be included in 2846 the source standard. 2847 2848 Other interfaces listed above for libgcc_s shall behave as described in the 2849 referenced base document. 2850 2851 _Unwind_DeleteException 2852 2853 Name 2854 2855 _Unwind_DeleteException -- private C++ error handling method 2856 2857 Synopsis 2858 2859 void _Unwind_DeleteException((struct _Unwind_Exception *object)); 2860 2861 Description 2862 2863 _Unwind_DeleteException deletes the given exception object. If a given runtime 2864 resumes normal execution after catching a foreign exception, it will not know 2865 how to delete that exception. Such an exception shall be deleted by calling 2866 _Unwind_DeleteException. This is a convenience function that calls the function 2867 pointed to by the exception_cleanup field of the exception header. 2868 2869 _Unwind_Find_FDE 2870 2871 Name 2872 2873 _Unwind_Find_FDE -- private C++ error handling method 2874 2875 Synopsis 2876 2877 fde * _Unwind_Find_FDE(void *pc, (struct dwarf_eh_bases *bases)); 2878 2879 Description 2880 2881 _Unwind_Find_FDE looks for the object containing pc, then inserts into bases. 2882 2883 _Unwind_ForcedUnwind 2884 2885 Name 2886 2887 _Unwind_ForcedUnwind -- private C++ error handling method 2888 2889 Synopsis 2890 2891 _Unwind_Reason_Code _Unwind_ForcedUnwind((struct _Unwind_Exception *object), 2892 _Unwind_Stop_Fn stop, void *stop_parameter); 2893 2894 Description 2895 2896 _Unwind_ForcedUnwind raises an exception for forced unwinding, passing along 2897 the given exception object, which should have its exception_class and 2898 exception_cleanup fields set. The exception object has been allocated by the 2899 language-specific runtime, and has a language-specific format, except that it 2900 shall contain an _Unwind_Exception struct. 2901 2902 Forced unwinding is a single-phase process. stop and stop_parameter control the 2903 termination of the unwind process instead of the usual personality routine 2904 query. stop is called for each unwind frame, with the parameteres described for 2905 the usual personality routine below, plus an additional stop_parameter. 2906 2907 Return Value 2908 2909 When stop identifies the destination frame, it transfers control to the user 2910 code as appropriate without returning, normally after calling 2911 _Unwind_DeleteException. If not, then it should return an _Unwind_Reason_Code 2912 value. 2913 2914 If stop returns any reason code other than _URC_NO_REASON, then the stack state 2915 is indeterminate from the point of view of the caller of _Unwind_ForcedUnwind. 2916 Rather than attempt to return, therefore, the unwind library should use the 2917 exception_cleanup entry in the exception, and then call abort. 2918 2919 _URC_NO_REASON 2920 2921 This is not the destination from. The unwind runtime will call frame's 2922 personality routine with the _UA_FORCE_UNWIND and _UA_CLEANUP_PHASE flag 2923 set in actions, and then unwind to the next frame and call the stop 2924 function again. 2925 2926 _URC_END_OF_STACK 2927 2928 In order to allow _Unwind_ForcedUnwind to perform special processing when 2929 it reaches the end of the stack, the unwind runtime will call it after the 2930 last frame is rejected, with a NULL stack pointer in the context, and the 2931 stop function shall catch this condition. It may return this code if it 2932 cannot handle end-of-stack. 2933 2934 _URC_FATAL_PHASE2_ERROR 2935 2936 The stop function may return this code for other fatal conditions like 2937 stack corruption. 2938 2939 _Unwind_GetDataRelBase 2940 2941 Name 2942 2943 _Unwind_GetDataRelBase -- private IA64 C++ error handling method 2944 2945 Synopsis 2946 2947 _Unwind_Ptr _Unwind_GetDataRelBase((struct _Unwind_Context *context)); 2948 2949 Description 2950 2951 _Unwind_GetDataRelBase returns the global pointer in register one for context. 2952 2953 _Unwind_GetGR 2954 2955 Name 2956 2957 _Unwind_GetGR -- private C++ error handling method 2958 2959 Synopsis 2960 2961 _Unwind_Word _Unwind_GetGR((struct _Unwind_Context *context), int index); 2962 2963 Description 2964 2965 _Unwind_GetGR returns data at index found in context. The register is 2966 identified by its index: 0 to 31 are for the fixed registers, and 32 to 127 are 2967 for the stacked registers. 2968 2969 During the two phases of unwinding, only GR1 has a guaranteed value, which is 2970 the global pointer of the frame referenced by the unwind context. If the 2971 register has its NAT bit set, the behavior is unspecified. 2972 2973 _Unwind_GetIP 2974 2975 Name 2976 2977 _Unwind_GetIP -- private C++ error handling method 2978 2979 Synopsis 2980 2981 _Unwind_Ptr _Unwind_GetIP((struct _Unwind_Context *context)); 2982 2983 Description 2984 2985 _Unwind_GetIP returns the instruction pointer value for the routine identified 2986 by the unwind context. 2987 2988 _Unwind_GetLanguageSpecificData 2989 2990 Name 2991 2992 _Unwind_GetLanguageSpecificData -- private C++ error handling method 2993 2994 Synopsis 2995 2996 _Unwind_Ptr _Unwind_GetLanguageSpecificData((struct _Unwind_Context *context), 2997 uint value); 2998 2999 Description 3000 3001 _Unwind_GetLanguageSpecificData returns the address of the language specific 3002 data area for the current stack frame. 3003 3004 _Unwind_GetRegionStart 3005 3006 Name 3007 3008 _Unwind_GetRegionStart -- private C++ error handling method 3009 3010 Synopsis 3011 3012 _Unwind_Ptr _Unwind_GetRegionStart((struct _Unwind_Context *context)); 3013 3014 Description 3015 3016 _Unwind_GetRegionStart routine returns the address (i.e., 0) of the beginning 3017 of the procedure or code fragment described by the current unwind descriptor 3018 block. 3019 3020 _Unwind_GetTextRelBase 3021 3022 Name 3023 3024 _Unwind_GetTextRelBase -- private IA64 C++ error handling method 3025 3026 Synopsis 3027 3028 _Unwind_Ptr _Unwind_GetTextRelBase((struct _Unwind_Context *context)); 3029 3030 Description 3031 3032 _Unwind_GetTextRelBase calls the abort method, then returns. 3033 3034 _Unwind_RaiseException 3035 3036 Name 3037 3038 _Unwind_RaiseException -- private C++ error handling method 3039 3040 Synopsis 3041 3042 _Unwind_Reason_Code _Unwind_RaiseException((struct _Unwind_Exception *object)); 3043 3044 Description 3045 3046 _Unwind_RaiseException raises an exception, passing along the given exception 3047 object, which should have its exception_class and exception_cleanup fields set. 3048 The exception object has been allocated by the language-specific runtime, and 3049 has a language-specific format, exception that it shall contain an 3050 _Unwind_Exception. 3051 3052 Return Value 3053 3054 _Unwind_RaiseException does not return unless an error condition is found. If 3055 an error condition occurs, an _Unwind_Reason_Code is returnd: 3056 3057 _URC_END_OF_STACK 3058 3059 The unwinder encountered the end of the stack during phase one without 3060 finding a handler. The unwind runtime will not have modified the stack. The 3061 C++ runtime will normally call uncaught_exception in this case. 3062 3063 _URC_FATAL_PHASE1_ERROR 3064 3065 The unwinder encountered an unexpected error during phase one, because of 3066 something like stack corruption. The unwind runtime will not have modified 3067 the stack. The C++ runtime will normally call terminate in this case. 3068 3069 _URC_FATAL_PHASE2_ERROR 3070 3071 The unwinder encountered an unexpected error during phase two. This is 3072 usually a throw, which will call terminate. 3073 3074 _Unwind_Resume 3075 3076 Name 3077 3078 _Unwind_Resume -- private C++ error handling method 3079 3080 Synopsis 3081 3082 void _Unwind_Resume((struct _Unwind_Exception *object)); 3083 3084 Description 3085 3086 _Unwind_Resume resumes propagation of an existing exception object. A call to 3087 this routine is inserted as the end of a landing pad that performs cleanup, but 3088 does not resume normal execution. It causes unwinding to proceed further. 3089 3090 _Unwind_SetGR 3091 3092 Name 3093 3094 _Unwind_SetGR -- private C++ error handling method 3095 3096 Synopsis 3097 3098 void _Unwind_SetGR((struct _Unwind_Context *context), int index, uint value); 3099 3100 Description 3101 3102 _Unwind_SetGR sets the value of the register indexed for the routine identified 3103 by the unwind context. 3104 3105 _Unwind_SetIP 3106 3107 Name 3108 3109 _Unwind_SetIP -- private C++ error handling method 3110 3111 Synopsis 3112 3113 void _Unwind_SetIP((struct _Unwind_Context *context), uint value); 3114 3115 Description 3116 3117 _Unwind_SetIP sets the value of the instruction pointer for the routine 3118 identified by the unwind context 3119 3120 ------------------------------------------------------------------------------- 3121 3122 Interfaces for libdl 3123 3124 Table 7-35 defines the library name and shared object name for the libdl 3125 library 3126 3127 Table 7-35. libdl Definition 3128 3129 +--------------------+ 3130 |Library:|libdl | 3131 |--------+-----------| 3132 |SONAME: |libdl.so.2 | 3133 +--------------------+ 3134 3135 The behavior of the interfaces in this library is specified by the following 3136 specifications: 3137 3138 this specification 3139 ISO POSIX (2003) 3140 3141 ------------------------------------------------------------------------------- 3142 3143 Dynamic Loader 3144 3145 ------------------------------------------------------------------------------- 3146 3147 Interfaces for Dynamic Loader 3148 3149 An LSB conforming implementation shall provide the architecture specific 3150 functions for Dynamic Loader specified in Table 7-36, with the full 3151 functionality as described in the referenced underlying specification. 3152 3153 Table 7-36. libdl - Dynamic Loader Function Interfaces 3154 3155 +------------------------------------------------------------------------------+ 3156 |dladdr |dlclose |dlerror |dlopen |dlsym | 3157 |(GLIBC_2.0) [1]|(GLIBC_2.0) [2]|(GLIBC_2.0) [2]|(GLIBC_2.1) [1]|(GLIBC_2.0) | 3158 | | | | |[1] | 3159 +------------------------------------------------------------------------------+ 3160 3161 Referenced Specification(s) 3162 3163 [1]. this specification 3164 3165 [2]. ISO POSIX (2003) 3166 3167 ------------------------------------------------------------------------------- 3168 3169 Interfaces for libcrypt 3170 3171 Table 7-37 defines the library name and shared object name for the libcrypt 3172 library 3173 3174 Table 7-37. libcrypt Definition 3175 3176 +-----------------------+ 3177 |Library:|libcrypt | 3178 |--------+--------------| 3179 |SONAME: |libcrypt.so.1 | 3180 +-----------------------+ 3181 3182 The behavior of the interfaces in this library is specified by the following 3183 specifications: 3184 3185 ISO POSIX (2003) 3186 3187 ------------------------------------------------------------------------------- 3188 3189 Encryption 3190 3191 ------------------------------------------------------------------------------- 3192 3193 Interfaces for Encryption 3194 3195 An LSB conforming implementation shall provide the architecture specific 3196 functions for Encryption specified in Table 7-38, with the full functionality 3197 as described in the referenced underlying specification. 3198 3199 Table 7-38. libcrypt - Encryption Function Interfaces 3200 3201 +---------------------------------------------------------------------+ 3202 |crypt(GLIBC_2.0) [1]|encrypt(GLIBC_2.0) [1]|setkey(GLIBC_2.0) [1]| | | 3203 +---------------------------------------------------------------------+ 3204 3205 Referenced Specification(s) 3206 3207 [1]. ISO POSIX (2003) 3208 3209 III. Utility Libraries 3210 3211 Table of Contents 3212 8. Libraries 3213 3214 ------------------------------------------------------------------------------- 3215 3216 Chapter 8. Libraries 3217 3218 The Utility libraries are those that are commonly used, but not part of the 3219 Single Unix Specification. 3220 3221 ------------------------------------------------------------------------------- 3222 3223 Interfaces for libz 3224 3225 Table 8-1. libz Definition 3226 3227 +-------------------+ 3228 |Library:|libz | 3229 |--------+----------| 3230 |SONAME: |libz.so.1 | 3231 +-------------------+ 3232 3233 ------------------------------------------------------------------------------- 3234 3235 Compression Library 3236 3237 ------------------------------------------------------------------------------- 3238 3239 Interfaces for Compression Library 3240 3241 ------------------------------------------------------------------------------- 3242 3243 Data Definitions for libz 3244 3245 This section contains standard data definitions that describe system data. 3246 These definitions are organized into groups that correspond to system headers. 3247 This convention is used as a convenience for the reader, and does not imply the 3248 existence of these headers, or their content. 3249 3250 ISO C serves as the LSB reference programming language, and data definitions 3251 are specified in ISO C . The C language is used here as a convenient notation. 3252 Using a C language description of these data objects does not preclude their 3253 use by other programming languages. 3254 3255 ------------------------------------------------------------------------------- 3256 3257 Interfaces for libncurses 3258 3259 Table 8-2. libncurses Definition 3260 3261 +-------------------------+ 3262 |Library:|libncurses | 3263 |--------+----------------| 3264 |SONAME: |libncurses.so.5 | 3265 +-------------------------+ 3266 3267 ------------------------------------------------------------------------------- 3268 3269 Curses 3270 3271 ------------------------------------------------------------------------------- 3272 3273 Interfaces for Curses 3274 3275 ------------------------------------------------------------------------------- 3276 3277 Data Definitions for libncurses 3278 3279 This section contains standard data definitions that describe system data. 3280 These definitions are organized into groups that correspond to system headers. 3281 This convention is used as a convenience for the reader, and does not imply the 3282 existence of these headers, or their content. 3283 3284 ISO C serves as the LSB reference programming language, and data definitions 3285 are specified in ISO C . The C language is used here as a convenient notation. 3286 Using a C language description of these data objects does not preclude their 3287 use by other programming languages. 3288 3289 ------------------------------------------------------------------------------- 3290 3291 curses.h 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 typedef int bool; 3308 3309 ------------------------------------------------------------------------------- 3310 3311 Interfaces for libutil 3312 3313 Table 8-3. libutil Definition 3314 3315 +----------------------+ 3316 |Library:|libutil | 3317 |--------+-------------| 3318 |SONAME: |libutil.so.1 | 3319 +----------------------+ 3320 3321 The behavior of the interfaces in this library is specified by the following 3322 standards. 3323 3324 Linux Standard Base[1] 3325 3326 ------------------------------------------------------------------------------- 3327 3328 Utility Functions 3329 3330 ------------------------------------------------------------------------------- 3331 3332 Interfaces for Utility Functions 3333 3334 Table 8-4. libutil - Utility Functions Function Interfaces 3335 3336 +-----------------------------------------------------------------------+ 3337 |forkpty(GLIBC_2.0)[1]|login_tty(GLIBC_2.0)[1]|logwtmp(GLIBC_2.0)[1]| | | 3338 |---------------------+-----------------------+---------------------+-+-| 3339 |login(GLIBC_2.0)[1] |logout(GLIBC_2.0)[1] |openpty(GLIBC_2.0)[1]| | | 3340 +-----------------------------------------------------------------------+ 3341 ------------------------------------------------------------------------------- 3342 3343 Appendix A. GNU Free Documentation License 3344 3345 Version 1.1, March 2000 3346 3347 Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple Place, Suite 3348 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute 3349 verbatim copies of this license document, but changing it is not allowed. 3350 3351 ------------------------------------------------------------------------------- 3352 3353 PREAMBLE 3354 3355 The purpose of this License is to make a manual, textbook, or other written 3356 document "free" in the sense of freedom: to assure everyone the effective 3357 freedom to copy and redistribute it, with or without modifying it, either 3358 commercially or noncommercially. Secondarily, this License preserves for the 3359 author and publisher a way to get credit for their work, while not being 3360 considered responsible for modifications made by others. 3361 3362 This License is a kind of "copyleft", which means that derivative works of the 3363 document must themselves be free in the same sense. It complements the GNU 3364 General Public License, which is a copyleft license designed for free software. 3365 3366 We have designed this License in order to use it for manuals for free software, 3367 because free software needs free documentation: a free program should come with 3368 manuals providing the same freedoms that the software does. But this License is 3369 not limited to software manuals; it can be used for any textual work, 3370 regardless of subject matter or whether it is published as a printed book. We 3371 recommend this License principally for works whose purpose is instruction or 3372 reference. 3373 3374 ------------------------------------------------------------------------------- 3375 3376 APPLICABILITY AND DEFINITIONS 3377 3378 This License applies to any manual or other work that contains a notice placed 3379 by the copyright holder saying it can be distributed under the terms of this 3380 License. The "Document", below, refers to any such manual or work. Any member 3381 of the public is a licensee, and is addressed as "you". 3382 3383 A "Modified Version" of the Document means any work containing the Document or 3384 a portion of it, either copied verbatim, or with modifications and/or 3385 translated into another language. 3386 3387 A "Secondary Section" is a named appendix or a front-matter section of the 3388 Document that deals exclusively with the relationship of the publishers or 3389 authors of the Document to the Document's overall subject (or to related 3390 matters) and contains nothing that could fall directly within that overall 3391 subject. (For example, if the Document is in part a textbook of mathematics, a 3392 Secondary Section may not explain any mathematics.) The relationship could be a 3393 matter of historical connection with the subject or with related matters, or of 3394 legal, commercial, philosophical, ethical or political position regarding them. 3395 3396 The "Invariant Sections" are certain Secondary Sections whose titles are 3397 designated, as being those of Invariant Sections, in the notice that says that 3398 the Document is released under this License. 3399 3400 The "Cover Texts" are certain short passages of text that are listed, as 3401 Front-Cover Texts or Back-Cover Texts, in the notice that says that the 3402 Document is released under this License. 3403 3404 A "Transparent" copy of the Document means a machine-readable copy, represented 3405 in a format whose specification is available to the general public, whose 3406 contents can be viewed and edited directly and straightforwardly with generic 3407 text editors or (for images composed of pixels) generic paint programs or (for 3408 drawings) some widely available drawing editor, and that is suitable for input 3409 to text formatters or for automatic translation to a variety of formats 3410 suitable for input to text formatters. A copy made in an otherwise Transparent 3411 file format whose markup has been designed to thwart or discourage subsequent 3412 modification by readers is not Transparent. A copy that is not "Transparent" is 3413 called "Opaque". 3414 3415 Examples of suitable formats for Transparent copies include plain ASCII without 3416 markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly 3417 available DTD, and standard-conforming simple HTML designed for human 3418 modification. Opaque formats include PostScript, PDF, proprietary formats that 3419 can be read and edited only by proprietary word processors, SGML or XML for 3420 which the DTD and/or processing tools are not generally available, and the 3421 machine-generated HTML produced by some word processors for output purposes 3422 only. 3423 3424 The "Title Page" means, for a printed book, the title page itself, plus such 3425 following pages as are needed to hold, legibly, the material this License 3426 requires to appear in the title page. For works in formats which do not have 3427 any title page as such, "Title Page" means the text near the most prominent 3428 appearance of the work's title, preceding the beginning of the body of the 3429 text. 3430 3431 ------------------------------------------------------------------------------- 3432 3433 VERBATIM COPYING 3434 3435 You may copy and distribute the Document in any medium, either commercially or 3436 noncommercially, provided that this License, the copyright notices, and the 3437 license notice saying this License applies to the Document are reproduced in 3438 all copies, and that you add no other conditions whatsoever to those of this 3439 License. You may not use technical measures to obstruct or control the reading 3440 or further copying of the copies you make or distribute. However, you may 3441 accept compensation in exchange for copies. If you distribute a large enough 3442 number of copies you must also follow the conditions in section 3. 3443 3444 You may also lend copies, under the same conditions stated above, and you may 3445 publicly display copies. 3446 3447 ------------------------------------------------------------------------------- 3448 3449 COPYING IN QUANTITY 3450 3451 If you publish printed copies of the Document numbering more than 100, and the 3452 Document's license notice requires Cover Texts, you must enclose the copies in 3453 covers that carry, clearly and legibly, all these Cover Texts: Front-Cover 3454 Texts on the front cover, and Back-Cover Texts on the back cover. Both covers 3455 must also clearly and legibly identify you as the publisher of these copies. 3456 The front cover must present the full title with all words of the title equally 3457 prominent and visible. You may add other material on the covers in addition. 3458 Copying with changes limited to the covers, as long as they preserve the title 3459 of the Document and satisfy these conditions, can be treated as verbatim 3460 copying in other respects. 3461 3462 If the required texts for either cover are too voluminous to fit legibly, you 3463 should put the first ones listed (as many as fit reasonably) on the actual 3464 cover, and continue the rest onto adjacent pages. 3465 3466 If you publish or distribute Opaque copies of the Document numbering more than 3467 100, you must either include a machine-readable Transparent copy along with 3468 each Opaque copy, or state in or with each Opaque copy a publicly-accessible 3469 computer-network location containing a complete Transparent copy of the 3470 Document, free of added material, which the general network-using public has 3471 access to download anonymously at no charge using public-standard network 3472 protocols. If you use the latter option, you must take reasonably prudent 3473 steps, when you begin distribution of Opaque copies in quantity, to ensure that 3474 this Transparent copy will remain thus accessible at the stated location until 3475 at least one year after the last time you distribute an Opaque copy (directly 3476 or through your agents or retailers) of that edition to the public. 3477 3478 It is requested, but not required, that you contact the authors of the Document 3479 well before redistributing any large number of copies, to give them a chance to 3480 provide you with an updated version of the Document. 3481 3482 ------------------------------------------------------------------------------- 3483 3484 MODIFICATIONS 3485 3486 You may copy and distribute a Modified Version of the Document under the 3487 conditions of sections 2 and 3 above, provided that you release the Modified 3488 Version under precisely this License, with the Modified Version filling the 3489 role of the Document, thus licensing distribution and modification of the 3490 Modified Version to whoever possesses a copy of it. In addition, you must do 3491 these things in the Modified Version: 3492 3493 A. Use in the Title Page (and on the covers, if any) a title distinct from 3494 that of the Document, and from those of previous versions (which should, if 3495 there were any, be listed in the History section of the Document). You may 3496 use the same title as a previous version if the original publisher of that 3497 version gives permission. 3498 3499 B. List on the Title Page, as authors, one or more persons or entities 3500 responsible for authorship of the modifications in the Modified Version, 3501 together with at least five of the principal authors of the Document (all 3502 of its principal authors, if it has less than five). 3503 3504 C. State on the Title page the name of the publisher of the Modified Version, 3505 as the publisher. 3506 3507 D. Preserve all the copyright notices of the Document. 3508 3509 E. Add an appropriate copyright notice for your modifications adjacent to the 3510 other copyright notices. 3511 3512 F. Include, immediately after the copyright notices, a license notice giving 3513 the public permission to use the Modified Version under the terms of this 3514 License, in the form shown in the Addendum below. 3515 3516 G. Preserve in that license notice the full lists of Invariant Sections and 3517 required Cover Texts given in the Document's license notice. 3518 3519 H. Include an unaltered copy of this License. 3520 3521 I. Preserve the section entitled "History", and its title, and add to it an 3522 item stating at least the title, year, new authors, and publisher of the 3523 Modified Version as given on the Title Page. If there is no section 3524 entitled "History" in the Document, create one stating the title, year, 3525 authors, and publisher of the Document as given on its Title Page, then add 3526 an item describing the Modified Version as stated in the previous sentence. 3527 3528 J. Preserve the network location, if any, given in the Document for public 3529 access to a Transparent copy of the Document, and likewise the network 3530 locations given in the Document for previous versions it was based on. 3531 These may be placed in the "History" section. You may omit a network 3532 location for a work that was published at least four years before the 3533 Document itself, or if the original publisher of the version it refers to 3534 gives permission. 3535 3536 K. In any section entitled "Acknowledgements" or "Dedications", preserve the 3537 section's title, and preserve in the section all the substance and tone of 3538 each of the contributor acknowledgements and/or dedications given therein. 3539 3540 L. Preserve all the Invariant Sections of the Document, unaltered in their 3541 text and in their titles. Section numbers or the equivalent are not 3542 considered part of the section titles. 3543 3544 M. Delete any section entitled "Endorsements". Such a section may not be 3545 included in the Modified Version. 3546 3547 N. Do not retitle any existing section as "Endorsements" or to conflict in 3548 title with any Invariant Section. 3549 3550 If the Modified Version includes new front-matter sections or appendices that 3551 qualify as Secondary Sections and contain no material copied from the Document, 3552 you may at your option designate some or all of these sections as invariant. To 3553 do this, add their titles to the list of Invariant Sections in the Modified 3554 Version's license notice. These titles must be distinct from any other section 3555 titles. 3556 3557 You may add a section entitled "Endorsements", provided it contains nothing but 3558 endorsements of your Modified Version by various parties--for example, 3559 statements of peer review or that the text has been approved by an organization 3560 as the authoritative definition of a standard. 3561 3562 You may add a passage of up to five words as a Front-Cover Text, and a passage 3563 of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts 3564 in the Modified Version. Only one passage of Front-Cover Text and one of 3565 Back-Cover Text may be added by (or through arrangements made by) any one 3566 entity. If the Document already includes a cover text for the same cover, 3567 previously added by you or by arrangement made by the same entity you are 3568 acting on behalf of, you may not add another; but you may replace the old one, 3569 on explicit permission from the previous publisher that added the old one. 3570 3571 The author(s) and publisher(s) of the Document do not by this License give 3572 permission to use their names for publicity for or to assert or imply 3573 endorsement of any Modified Version. 3574 3575 ------------------------------------------------------------------------------- 3576 3577 COMBINING DOCUMENTS 3578 3579 You may combine the Document with other documents released under this License, 3580 under the terms defined in section 4 above for modified versions, provided that 3581 you include in the combination all of the Invariant Sections of all of the 3582 original documents, unmodified, and list them all as Invariant Sections of your 3583 combined work in its license notice. 3584 3585 The combined work need only contain one copy of this License, and multiple 3586 identical Invariant Sections may be replaced with a single copy. If there are 3587 multiple Invariant Sections with the same name but different contents, make the 3588 title of each such section unique by adding at the end of it, in parentheses, 3589 the name of the original author or publisher of that section if known, or else 3590 a unique number. Make the same adjustment to the section titles in the list of 3591 Invariant Sections in the license notice of the combined work. 3592 3593 In the combination, you must combine any sections entitled "History" in the 3594 various original documents, forming one section entitled "History"; likewise 3595 combine any sections entitled "Acknowledgements", and any sections entitled 3596 "Dedications". You must delete all sections entitled "Endorsements." 3597 3598 ------------------------------------------------------------------------------- 3599 3600 COLLECTIONS OF DOCUMENTS 3601 3602 You may make a collection consisting of the Document and other documents 3603 released under this License, and replace the individual copies of this License 3604 in the various documents with a single copy that is included in the collection, 3605 provided that you follow the rules of this License for verbatim copying of each 3606 of the documents in all other respects. 3607 3608 You may extract a single document from such a collection, and distribute it 3609 individually under this License, provided you insert a copy of this License 3610 into the extracted document, and follow this License in all other respects 3611 regarding verbatim copying of that document. 3612 3613 ------------------------------------------------------------------------------- 3614 3615 AGGREGATION WITH INDEPENDENT WORKS 3616 3617 A compilation of the Document or its derivatives with other separate and 3618 independent documents or works, in or on a volume of a storage or distribution 3619 medium, does not as a whole count as a Modified Version of the Document, 3620 provided no compilation copyright is claimed for the compilation. Such a 3621 compilation is called an "aggregate", and this License does not apply to the 3622 other self-contained works thus compiled with the Document, on account of their 3623 being thus compiled, if they are not themselves derivative works of the 3624 Document. 3625 3626 If the Cover Text requirement of section 3 is applicable to these copies of the 3627 Document, then if the Document is less than one quarter of the entire 3628 aggregate, the Document's Cover Texts may be placed on covers that surround 3629 only the Document within the aggregate. Otherwise they must appear on covers 3630 around the whole aggregate. 3631 3632 ------------------------------------------------------------------------------- 3633 3634 TRANSLATION 3635 3636 Translation is considered a kind of modification, so you may distribute 3637 translations of the Document under the terms of section 4. Replacing Invariant 3638 Sections with translations requires special permission from their copyright 3639 holders, but you may include translations of some or all Invariant Sections in 3640 addition to the original versions of these Invariant Sections. You may include 3641 a translation of this License provided that you also include the original 3642 English version of this License. In case of a disagreement between the 3643 translation and the original English version of this License, the original 3644 English version will prevail. 3645 3646 ------------------------------------------------------------------------------- 3647 3648 TERMINATION 3649 3650 You may not copy, modify, sublicense, or distribute the Document except as 3651 expressly provided for under this License. Any other attempt to copy, modify, 3652 sublicense or distribute the Document is void, and will automatically terminate 3653 your rights under this License. However, parties who have received copies, or 3654 rights, from you under this License will not have their licenses terminated so 3655 long as such parties remain in full compliance. 3656 3657 ------------------------------------------------------------------------------- 3658 3659 FUTURE REVISIONS OF THIS LICENSE 3660 3661 The Free Software Foundation may publish new, revised versions of the GNU Free 3662 Documentation License from time to time. Such new versions will be similar in 3663 spirit to the present version, but may differ in detail to address new problems 3664 or concerns. See http://www.gnu.org/copyleft/. 3665 3666 Each version of the License is given a distinguishing version number. If the 3667 Document specifies that a particular numbered version of this License "or any 3668 later version" applies to it, you have the option of following the terms and 3669 conditions either of that specified version or of any later version that has 3670 been published (not as a draft) by the Free Software Foundation. If the 3671 Document does not specify a version number of this License, you may choose any 3672 version ever published (not as a draft) by the Free Software Foundation. 3673 3674 ------------------------------------------------------------------------------- 3675 3676 How to use this License for your documents 3677 3678 To use this License in a document you have written, include a copy of the 3679 License in the document and put the following copyright and license notices 3680 just after the title page: 3681 3682 Copyright (c) YEAR YOUR NAME. Permission is granted to copy, distribute and 3683 /or modify this document under the terms of the GNU Free Documentation 3684 License, Version 1.1 or any later version published by the Free Software 3685 Foundation; with the Invariant Sections being LIST THEIR TITLES, with the 3686 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. A 3687 copy of the license is included in the section entitled "GNU Free 3688 Documentation License". 3689 3690 If you have no Invariant Sections, write "with no Invariant Sections" instead 3691 of saying which ones are invariant. If you have no Front-Cover Texts, write "no 3692 Front-Cover Texts" instead of "Front-Cover Texts being LIST"; likewise for 3693 Back-Cover Texts. 3694 3695 If your document contains nontrivial examples of program code, we recommend 3696 releasing these examples in parallel under your choice of free software 3697 license, such as the GNU General Public License, to permit their use in free 3698 software. 3699 3700 Notes 3701 3702 [1] Linux Standard Base 3703