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