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