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