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