1 Linux Standard Base Core Specification for S390X 3.2 2 3 Copyright © 2007 Linux Foundation 4 5 Permission is granted to copy, distribute and/or modify this 6 document under the terms of the GNU Free Documentation License, 7 Version 1.1; with no Invariant Sections, with no Front-Cover 8 Texts, and with no Back-Cover Texts. A copy of the license is 9 included in the section entitled "GNU Free Documentation 10 License". 11 12 Portions of the text may be copyrighted by the following 13 parties: 14 15 * The Regents of the University of California 16 * Free Software Foundation 17 * Ian F. Darwin 18 * Paul Vixie 19 * BSDI (now Wind River) 20 * Andrew G Morgan 21 * Jean-loup Gailly and Mark Adler 22 * Massachusetts Institute of Technology 23 * Apple Inc. 24 * Easy Software Products 25 * artofcode LLC 26 * Till Kamppeter 27 * Manfred Wassman 28 * Python Software Foundation 29 30 These excerpts are being used in accordance with their 31 respective licenses. 32 33 Linux is the registered trademark of Linus Torvalds in the U.S. 34 and other countries. 35 36 UNIX is a registered trademark of The Open Group. 37 38 LSB is a trademark of the Linux Foundation in the United States 39 and other countries. 40 41 AMD is a trademark of Advanced Micro Devices, Inc. 42 43 Intel and Itanium are registered trademarks and Intel386 is a 44 trademark of Intel Corporation. 45 46 PowerPC is a registered trademark and PowerPC Architecture is a 47 trademark of the IBM Corporation. 48 49 S/390 is a registered trademark of the IBM Corporation. 50 51 OpenGL is a registered trademark of Silicon Graphics, Inc. 52 __________________________________________________________ 53 54 Table of Contents 55 Foreword 56 Introduction 57 I. Introductory Elements 58 59 1. Scope 60 61 1.1. General 62 1.2. Module Specific Scope 63 64 2. References 65 66 2.1. Normative References 67 2.2. Informative References/Bibliography 68 69 3. Requirements 70 71 3.1. Relevant Libraries 72 3.2. LSB Implementation Conformance 73 3.3. LSB Application Conformance 74 75 4. Definitions 76 5. Terminology 77 6. Documentation Conventions 78 79 II. Executable and Linking Format (ELF) 80 81 7. Introduction 82 8. Low Level System Information 83 84 8.1. Machine Interface 85 8.2. Function Calling Sequence 86 8.3. Operating System Interface 87 8.4. Process Initialization 88 8.5. Coding Examples 89 8.6. Debug Information 90 91 9. Object Format 92 93 9.1. Introduction 94 9.2. ELF Header 95 9.3. Sections 96 9.4. Symbol Table 97 9.5. Relocation 98 99 10. Program Loading and Dynamic Linking 100 101 10.1. Introduction 102 10.2. Program Loading 103 10.3. Dynamic Linking 104 105 III. Base Libraries 106 107 11. Libraries 108 109 11.1. Program Interpreter/Dynamic Linker 110 11.2. Interfaces for libc 111 11.3. Data Definitions for libc 112 11.4. Interfaces for libm 113 11.5. Data Definitions for libm 114 11.6. Interfaces for libpthread 115 11.7. Data Definitions for libpthread 116 11.8. Interfaces for libgcc_s 117 11.9. Data Definitions for libgcc_s 118 11.10. Interface Definitions for libgcc_s 119 11.11. Interfaces for libdl 120 11.12. Data Definitions for libdl 121 11.13. Interfaces for libcrypt 122 123 IV. Utility Libraries 124 125 12. Libraries 126 127 12.1. Interfaces for libz 128 12.2. Data Definitions for libz 129 12.3. Interfaces for libncurses 130 12.4. Data Definitions for libncurses 131 12.5. Interfaces for libutil 132 133 V. Package Format and Installation 134 135 13. Software Installation 136 137 13.1. Package Dependencies 138 13.2. Package Architecture Considerations 139 140 A. Alphabetical Listing of Interfaces 141 142 A.1. libc 143 A.2. libcrypt 144 A.3. libdl 145 A.4. libgcc_s 146 A.5. libm 147 A.6. libpthread 148 A.7. librt 149 A.8. libutil 150 151 B. GNU Free Documentation License (Informative) 152 153 B.1. PREAMBLE 154 B.2. APPLICABILITY AND DEFINITIONS 155 B.3. VERBATIM COPYING 156 B.4. COPYING IN QUANTITY 157 B.5. MODIFICATIONS 158 B.6. COMBINING DOCUMENTS 159 B.7. COLLECTIONS OF DOCUMENTS 160 B.8. AGGREGATION WITH INDEPENDENT WORKS 161 B.9. TRANSLATION 162 B.10. TERMINATION 163 B.11. FUTURE REVISIONS OF THIS LICENSE 164 B.12. How to use this License for your documents 165 166 List of Tables 167 2-1. Normative References 168 2-2. Other References 169 3-1. Standard Library Names 170 9-1. ELF Special Sections 171 9-2. Additional Special Sections 172 11-1. libc Definition 173 11-2. libc - RPC Function Interfaces 174 11-3. libc - System Calls Function Interfaces 175 11-4. libc - System Calls Deprecated Function Interfaces 176 11-5. libc - Standard I/O Function Interfaces 177 11-6. libc - Standard I/O Data Interfaces 178 11-7. libc - Signal Handling Function Interfaces 179 11-8. libc - Signal Handling Deprecated Function Interfaces 180 11-9. libc - Signal Handling Data Interfaces 181 11-10. libc - Localization Functions Function Interfaces 182 11-11. libc - Localization Functions Data Interfaces 183 11-12. libc - Posix Spawn Option Function Interfaces 184 11-13. libc - Posix Advisory Option Function Interfaces 185 11-14. libc - Socket Interface Function Interfaces 186 11-15. libc - Socket Interface Data Interfaces 187 11-16. libc - Wide Characters Function Interfaces 188 11-17. libc - String Functions Function Interfaces 189 11-18. libc - String Functions Deprecated Function Interfaces 190 11-19. libc - IPC Functions Function Interfaces 191 11-20. libc - Regular Expressions Function Interfaces 192 11-21. libc - Character Type Functions Function Interfaces 193 11-22. libc - Time Manipulation Function Interfaces 194 11-23. libc - Time Manipulation Data Interfaces 195 11-24. libc - Terminal Interface Functions Function Interfaces 196 11-25. libc - System Database Interface Function Interfaces 197 11-26. libc - System Database Interface Deprecated Function 198 Interfaces 199 200 11-27. libc - Language Support Function Interfaces 201 11-28. libc - Large File Support Function Interfaces 202 11-29. libc - Large File Support Deprecated Function Interfaces 203 11-30. libc - Standard Library Function Interfaces 204 11-31. libc - Standard Library Deprecated Function Interfaces 205 11-32. libc - Standard Library Data Interfaces 206 11-33. libm Definition 207 11-34. libm - Math Function Interfaces 208 11-35. libm - Math Deprecated Function Interfaces 209 11-36. libm - Math Data Interfaces 210 11-37. libpthread Definition 211 11-38. libpthread - Realtime Threads Function Interfaces 212 11-39. libpthread - Advanced Realtime Threads Function 213 Interfaces 214 215 11-40. libpthread - Posix Threads Function Interfaces 216 11-41. libpthread - Posix Threads Deprecated Function 217 Interfaces 218 219 11-42. libpthread - Thread aware versions of libc interfaces 220 Function Interfaces 221 222 11-43. libgcc_s Definition 223 11-44. libgcc_s - Unwind Library Function Interfaces 224 11-45. libdl Definition 225 11-46. libdl - Dynamic Loader Function Interfaces 226 11-47. libcrypt Definition 227 11-48. libcrypt - Encryption Function Interfaces 228 12-1. libz Definition 229 12-2. libncurses Definition 230 12-3. libutil Definition 231 12-4. libutil - Utility Functions Function Interfaces 232 A-1. libc Function Interfaces 233 A-2. libc Data Interfaces 234 A-3. libcrypt Function Interfaces 235 A-4. libdl Function Interfaces 236 A-5. libgcc_s Function Interfaces 237 A-6. libm Function Interfaces 238 A-7. libm Data Interfaces 239 A-8. libpthread Function Interfaces 240 A-9. librt Function Interfaces 241 A-10. libutil Function Interfaces 242 __________________________________________________________ 243 244 Foreword 245 246 This is version 3.2 of the Linux Standard Base Core 247 Specification for S390X. This specification is part of a family 248 of specifications under the general title "Linux Standard 249 Base". Developers of applications or implementations interested 250 in using the LSB trademark should see the Linux Foundation 251 Certification Policy for details. 252 __________________________________________________________ 253 254 Introduction 255 256 The LSB defines a binary interface for application programs 257 that are compiled and packaged for LSB-conforming 258 implementations on many different hardware architectures. Since 259 a binary specification shall include information specific to 260 the computer processor architecture for which it is intended, 261 it is not possible for a single document to specify the 262 interface for all possible LSB-conforming implementations. 263 Therefore, the LSB is a family of specifications, rather than a 264 single one. 265 266 This document should be used in conjunction with the documents 267 it references. This document enumerates the system components 268 it includes, but descriptions of those components may be 269 included entirely or partly in this document, partly in other 270 documents, or entirely in other reference documents. For 271 example, the section that describes system service routines 272 includes a list of the system routines supported in this 273 interface, formal declarations of the data structures they use 274 that are visible to applications, and a pointer to the 275 underlying referenced specification for information about the 276 syntax and semantics of each call. Only those routines not 277 described in standards referenced by this document, or 278 extensions to those standards, are described in the detail. 279 Information referenced in this way is as much a part of this 280 document as is the information explicitly included here. 281 282 The specification carries a version number of either the form 283 x.y or x.y.z. This version number carries the following 284 meaning: 285 286 * The first number (x) is the major version number. All 287 versions with the same major version number should share 288 binary compatibility. Any addition or deletion of a new 289 library results in a new version number. Interfaces marked 290 as deprecated may be removed from the specification at a 291 major version change. 292 * The second number (y) is the minor version number. 293 Individual interfaces may be added if all certified 294 implementations already had that (previously undocumented) 295 interface. Interfaces may be marked as deprecated at a 296 minor version change. Other minor changes may be permitted 297 at the discretion of the LSB workgroup. 298 * The third number (z), if present, is the editorial level. 299 Only editorial changes should be included in such versions. 300 301 Since this specification is a descriptive Application Binary 302 Interface, and not a source level API specification, it is not 303 possible to make a guarantee of 100% backward compatibility 304 between major releases. However, it is the intent that those 305 parts of the binary interface that are visible in the source 306 level API will remain backward compatible from version to 307 version, except where a feature marked as "Deprecated" in one 308 release may be removed from a future release. 309 310 Implementors are strongly encouraged to make use of symbol 311 versioning to permit simultaneous support of applications 312 conforming to different releases of this specification. 313 314 I. Introductory Elements 315 316 Table of Contents 317 1. Scope 318 319 1.1. General 320 1.2. Module Specific Scope 321 322 2. References 323 324 2.1. Normative References 325 2.2. Informative References/Bibliography 326 327 3. Requirements 328 329 3.1. Relevant Libraries 330 3.2. LSB Implementation Conformance 331 3.3. LSB Application Conformance 332 333 4. Definitions 334 5. Terminology 335 6. Documentation Conventions 336 __________________________________________________________ 337 338 Chapter 1. Scope 339 340 1.1. General 341 342 The Linux Standard Base (LSB) defines a system interface for 343 compiled applications and a minimal environment for support of 344 installation scripts. Its purpose is to enable a uniform 345 industry standard environment for high-volume applications 346 conforming to the LSB. 347 348 These specifications are composed of two basic parts: A common 349 specification ("LSB-generic" or "generic LSB"), ISO/IEC 23360 350 Part 1, describing those parts of the interface that remain 351 constant across all implementations of the LSB, and an 352 architecture-specific part ("LSB-arch" or "archLSB") describing 353 the parts of the interface that vary by processor architecture. 354 Together, the LSB-generic and the relevant 355 architecture-specific part of ISO/IEC 23360 for a single 356 hardware architecture provide a complete interface 357 specification for compiled application programs on systems that 358 share a common hardware architecture. 359 360 ISO/IEC 23360 Part 1, the LSB-generic document, should be used 361 in conjunction with an architecture-specific part. Whenever a 362 section of the LSB-generic specification is supplemented by 363 architecture-specific information, the LSB-generic document 364 includes a reference to the architecture part. 365 Architecture-specific parts of ISO/IEC 23360 may also contain 366 additional information that is not referenced in the 367 LSB-generic document. 368 369 The LSB contains both a set of Application Program Interfaces 370 (APIs) and Application Binary Interfaces (ABIs). APIs may 371 appear in the source code of portable applications, while the 372 compiled binary of that application may use the larger set of 373 ABIs. A conforming implementation provides all of the ABIs 374 listed here. The compilation system may replace (e.g. by macro 375 definition) certain APIs with calls to one or more of the 376 underlying binary interfaces, and may insert calls to binary 377 interfaces as needed. 378 379 The LSB is primarily a binary interface definition. Not all of 380 the source level APIs available to applications may be 381 contained in this specification. 382 __________________________________________________________ 383 384 1.2. Module Specific Scope 385 386 This is the S390X architecture specific Core part of the Linux 387 Standard Base (LSB). This part supplements the generic LSB Core 388 module with those interfaces that differ between architectures. 389 390 Interfaces described in this part of ISO/IEC 23360 are 391 mandatory except where explicitly listed otherwise. Core 392 interfaces may be supplemented by other modules; all modules 393 are built upon the core. 394 __________________________________________________________ 395 396 Chapter 2. References 397 398 2.1. Normative References 399 400 The following referenced documents are indispensable for the 401 application of this document. For dated references, only the 402 edition cited applies. For undated references, the latest 403 edition of the referenced document (including any amendments) 404 applies. 405 406 Note: Where copies of a document are available on the World 407 Wide Web, a Uniform Resource Locator (URL) is given for 408 informative purposes only. This may point to a more recent 409 copy of the referenced specification, or may be out of date. 410 Reference copies of specifications at the revision level 411 indicated may be found at the Linux Foundation's Reference 412 Specifications site. 413 414 Table 2-1. Normative References 415 Name Title URL 416 ISO/IEC 23360 Part 1 ISO/IEC 23360:2005 Linux Standard Base - 417 Part 1 Generic Specification http://www.linuxbase.org/spec/ 418 Filesystem Hierarchy Standard Filesystem Hierarchy Standard 419 (FHS) 2.3 http://www.pathname.com/fhs/ 420 ISO C (1999) ISO/IEC 9899: 1999, Programming Languages --C 421 ISO POSIX (2003) 422 423 ISO/IEC 9945-1:2003 Information technology -- Portable 424 Operating System Interface (POSIX) -- Part 1: Base Definitions 425 426 ISO/IEC 9945-2:2003 Information technology -- Portable 427 Operating System Interface (POSIX) -- Part 2: System Interfaces 428 429 ISO/IEC 9945-3:2003 Information technology -- Portable 430 Operating System Interface (POSIX) -- Part 3: Shell and 431 Utilities 432 433 ISO/IEC 9945-4:2003 Information technology -- Portable 434 Operating System Interface (POSIX) -- Part 4: Rationale 435 436 Including Technical Cor. 1: 2004 437 http://www.unix.org/version3/ 438 Large File Support Large File Support 439 http://www.UNIX-systems.org/version2/whatsnew/lfs20mar.html 440 LINUX for zSeries Application Binary Interface Supplement LINUX 441 for zSeries Application Binary Interface Supplement 442 http://www.linux-foundation.org/spec/ELF/zSeries/lzsabi0_zSerie 443 s.html 444 SUSv2 CAE Specification, January 1997, System Interfaces and 445 Headers (XSH),Issue 5 (ISBN: 1-85912-181-0, C606) 446 http://www.opengroup.org/publications/catalog/un.htm 447 SVID Issue 3 American Telephone and Telegraph Company, System V 448 Interface Definition, Issue 3; Morristown, NJ, UNIX Press, 449 1989. (ISBN 0201566524) 450 SVID Issue 4 System V Interface Definition, Fourth Edition 451 System V ABI System V Application Binary Interface, Edition 4.1 452 http://www.caldera.com/developers/devspecs/gabi41.pdf 453 System V ABI Update System V Application Binary Interface - 454 DRAFT - 17 December 2003 455 http://www.caldera.com/developers/gabi/2003-12-17/contents.html 456 X/Open Curses CAE Specification, May 1996, X/Open Curses, Issue 457 4, Version 2 (ISBN: 1-85912-171-3, C610), plus Corrigendum U018 458 http://www.opengroup.org/publications/catalog/un.htm 459 z/Architecture Principles of Operation z/Architecture 460 Principles of Operation 461 http://publibz.boulder.ibm.com/epubs/pdf/dz9zs001.pdf 462 __________________________________________________________ 463 464 2.2. Informative References/Bibliography 465 466 In addition, the specifications listed below provide essential 467 background information to implementors of this specification. 468 These references are included for information only. 469 470 Table 2-2. Other References 471 Name Title URL 472 DWARF Debugging Information Format, Revision 2.0.0 DWARF 473 Debugging Information Format, Revision 2.0.0 (July 27, 1993) 474 http://refspecs.linux-foundation.org/dwarf/dwarf-2.0.0.pdf 475 DWARF Debugging Information Format, Revision 3.0.0 (Draft) 476 DWARF Debugging Information Format, Revision 3.0.0 (Draft) 477 http://refspecs.linux-foundation.org/dwarf 478 IEC 60559/IEEE 754 Floating Point IEC 60559:1989 Binary 479 floating-point arithmetic for microprocessor systems 480 http://www.ieee.org/ 481 ISO/IEC TR14652 ISO/IEC Technical Report 14652:2002 482 Specification method for cultural conventions 483 ITU-T V.42 International Telecommunication Union Recommendation 484 V.42 (2002): Error-correcting procedures for DCEs using 485 asynchronous-to-synchronous conversionITUV 486 http://www.itu.int/rec/recommendation.asp?type=folders&lang=e&p 487 arent=T-REC-V.42 488 Li18nux Globalization Specification LI18NUX 2000 Globalization 489 Specification, Version 1.0 with Amendment 4 490 http://www.openi18n.org/docs/html/LI18NUX-2000-amd4.htm 491 Linux Allocated Device Registry LINUX ALLOCATED DEVICES 492 http://www.lanana.org/docs/device-list/devices.txt 493 PAM Open Software Foundation, Request For Comments: 86.0 , 494 October 1995, V. Samar & R.Schemers (SunSoft) 495 http://www.opengroup.org/tech/rfc/mirror-rfc/rfc86.0.txt 496 RFC 1321: The MD5 Message-Digest Algorithm IETF RFC 1321: The 497 MD5 Message-Digest Algorithm 498 http://www.ietf.org/rfc/rfc1321.txt 499 RFC 1831/1832 RPC & XDR IETF RFC 1831 & 1832 500 http://www.ietf.org/ 501 RFC 1833: Binding Protocols for ONC RPC Version 2 IETF RFC 502 1833: Binding Protocols for ONC RPC Version 2 503 http://www.ietf.org/rfc/rfc1833.txt 504 RFC 1950: ZLIB Compressed Data Format Specication IETF RFC 505 1950: ZLIB Compressed Data Format Specification 506 http://www.ietf.org/rfc/rfc1950.txt 507 RFC 1951: DEFLATE Compressed Data Format Specification IETF RFC 508 1951: DEFLATE Compressed Data Format Specification version 1.3 509 http://www.ietf.org/rfc/rfc1951.txt 510 RFC 1952: GZIP File Format Specification IETF RFC 1952: GZIP 511 file format specification version 4.3 512 http://www.ietf.org/rfc/rfc1952.txt 513 RFC 2440: OpenPGP Message Format IETF RFC 2440: OpenPGP Message 514 Format http://www.ietf.org/rfc/rfc2440.txt 515 RFC 2821:Simple Mail Transfer Protocol IETF RFC 2821: Simple 516 Mail Transfer Protocol http://www.ietf.org/rfc/rfc2821.txt 517 RFC 2822:Internet Message Format IETF RFC 2822: Internet 518 Message Format http://www.ietf.org/rfc/rfc2822.txt 519 RFC 791:Internet Protocol IETF RFC 791: Internet Protocol 520 Specification http://www.ietf.org/rfc/rfc791.txt 521 RPM Package Format RPM Package Format V3.0 522 http://www.rpm.org/max-rpm/s1-rpm-file-format-rpm-file-format.h 523 tml 524 SUSv2 Commands and Utilities The Single UNIX Specification(SUS) 525 Version 2, Commands and Utilities (XCU), Issue 5 (ISBN: 526 1-85912-191-8, C604) 527 http://www.opengroup.org/publications/catalog/un.htm 528 zlib Manual zlib 1.2 Manual http://www.gzip.org/zlib/ 529 __________________________________________________________ 530 531 Chapter 3. Requirements 532 533 3.1. Relevant Libraries 534 535 The libraries listed in Table 3-1 shall be available on S390X 536 Linux Standard Base systems, with the specified runtime names. 537 These names override or supplement the names specified in the 538 generic LSB (ISO/IEC 23360 Part 1) specification. The specified 539 program interpreter, referred to as proginterp in this table, 540 shall be used to load the shared libraries specified by 541 DT_NEEDED entries at run time. 542 543 Table 3-1. Standard Library Names 544 Library Runtime Name 545 libm libm.so.6 546 libdl libdl.so.2 547 libcrypt libcrypt.so.1 548 libz libz.so.1 549 libncurses libncurses.so.5 550 libutil libutil.so.1 551 libc libc.so.6 552 libpthread libpthread.so.0 553 proginterp /lib64/ld-lsb-s390x.so.3 554 libgcc_s libgcc_s.so.1 555 556 These libraries will be in an implementation-defined directory 557 which the dynamic linker shall search by default. 558 __________________________________________________________ 559 560 3.2. LSB Implementation Conformance 561 562 A conforming implementation is necessarily architecture 563 specific, and must provide the interfaces specified by both the 564 generic LSB Core specification (ISO/IEC 23360 Part 1) and the 565 relevant architecture specific part of ISO/IEC 23360. 566 567 Rationale: An implementation must provide at least the 568 interfaces specified in these specifications. It may also 569 provide additional interfaces. 570 571 A conforming implementation shall satisfy the following 572 requirements: 573 574 * A processor architecture represents a family of related 575 processors which may not have identical feature sets. The 576 architecture specific parts of ISO/IEC 23360 that 577 supplement this specification for a given target processor 578 architecture describe a minimum acceptable processor. The 579 implementation shall provide all features of this 580 processor, whether in hardware or through emulation 581 transparent to the application. 582 * The implementation shall be capable of executing compiled 583 applications having the format and using the system 584 interfaces described in this document. 585 * The implementation shall provide libraries containing the 586 interfaces specified by this document, and shall provide a 587 dynamic linking mechanism that allows these interfaces to 588 be attached to applications at runtime. All the interfaces 589 shall behave as specified in this document. 590 * The map of virtual memory provided by the implementation 591 shall conform to the requirements of this document. 592 * The implementation's low-level behavior with respect to 593 function call linkage, system traps, signals, and other 594 such activities shall conform to the formats described in 595 this document. 596 * The implementation shall provide all of the mandatory 597 interfaces in their entirety. 598 * The implementation may provide one or more of the optional 599 interfaces. Each optional interface that is provided shall 600 be provided in its entirety. The product documentation 601 shall state which optional interfaces are provided. 602 * The implementation shall provide all files and utilities 603 specified as part of this document in the format defined 604 here and in other referenced documents. All commands and 605 utilities shall behave as required by this document. The 606 implementation shall also provide all mandatory components 607 of an application's runtime environment that are included 608 or referenced in this document. 609 * The implementation, when provided with standard data 610 formats and values at a named interface, shall provide the 611 behavior defined for those values and data formats at that 612 interface. However, a conforming implementation may consist 613 of components which are separately packaged and/or sold. 614 For example, a vendor of a conforming implementation might 615 sell the hardware, operating system, and windowing system 616 as separately packaged items. 617 * The implementation may provide additional interfaces with 618 different names. It may also provide additional behavior 619 corresponding to data values outside the standard ranges, 620 for standard named interfaces. 621 __________________________________________________________ 622 623 3.3. LSB Application Conformance 624 625 A conforming application is necessarily architecture specific, 626 and must conform to both the generic LSB Core specification 627 (ISO/IEC 23360 Part 1)and the relevant architecture specific 628 part of ISO/IEC 23360. 629 630 A conforming application shall satisfy the following 631 requirements: 632 633 * Its executable files shall be either shell scripts or 634 object files in the format defined for the Object File 635 Format system interface. 636 * Its object files shall participate in dynamic linking as 637 defined in the Program Loading and Linking System 638 interface. 639 * It shall employ only the instructions, traps, and other 640 low-level facilities defined in the Low-Level System 641 interface as being for use by applications. 642 * If it requires any optional interface defined in this 643 document in order to be installed or to execute 644 successfully, the requirement for that optional interface 645 shall be stated in the application's documentation. 646 * It shall not use any interface or data format that is not 647 required to be provided by a conforming implementation, 648 unless: 649 + If such an interface or data format is supplied by 650 another application through direct invocation of that 651 application during execution, that application shall 652 be in turn an LSB conforming application. 653 + The use of that interface or data format, as well as 654 its source, shall be identified in the documentation 655 of the application. 656 * It shall not use any values for a named interface that are 657 reserved for vendor extensions. 658 659 A strictly conforming application shall not require or use any 660 interface, facility, or implementation-defined extension that 661 is not defined in this document in order to be installed or to 662 execute successfully. 663 __________________________________________________________ 664 665 Chapter 4. Definitions 666 667 For the purposes of this document, the following definitions, 668 as specified in the ISO/IEC Directives, Part 2, 2001, 4th 669 Edition, apply: 670 671 can 672 673 be able to; there is a possibility of; it is possible to 674 cannot 675 676 be unable to; there is no possibilty of; it is not possible to 677 may 678 679 is permitted; is allowed; is permissible 680 need not 681 682 it is not required that; no...is required 683 shall 684 685 is to; is required to; it is required that; has to; only...is 686 permitted; it is necessary 687 shall not 688 689 is not allowed [permitted] [acceptable] [permissible]; is 690 required to be not; is required that...be not; is not to be 691 should 692 693 it is recommended that; ought to 694 should not 695 696 it is not recommended that; ought not to 697 __________________________________________________________ 698 699 Chapter 5. Terminology 700 701 For the purposes of this document, the following terms apply: 702 703 archLSB 704 The architectural part of the LSB Specification which 705 describes the specific parts of the interface that are 706 platform specific. The archLSB is complementary to the 707 gLSB. 708 709 Binary Standard 710 The total set of interfaces that are available to be 711 used in the compiled binary code of a conforming 712 application. 713 714 gLSB 715 The common part of the LSB Specification that describes 716 those parts of the interface that remain constant across 717 all hardware implementations of the LSB. 718 719 implementation-defined 720 Describes a value or behavior that is not defined by 721 this document but is selected by an implementor. The 722 value or behavior may vary among implementations that 723 conform to this document. An application should not rely 724 on the existence of the value or behavior. An 725 application that relies on such a value or behavior 726 cannot be assured to be portable across conforming 727 implementations. The implementor shall document such a 728 value or behavior so that it can be used correctly by an 729 application. 730 731 Shell Script 732 A file that is read by an interpreter (e.g., awk). The 733 first line of the shell script includes a reference to 734 its interpreter binary. 735 736 Source Standard 737 The set of interfaces that are available to be used in 738 the source code of a conforming application. 739 740 undefined 741 Describes the nature of a value or behavior not defined 742 by this document which results from use of an invalid 743 program construct or invalid data input. The value or 744 behavior may vary among implementations that conform to 745 this document. An application should not rely on the 746 existence or validity of the value or behavior. An 747 application that relies on any particular value or 748 behavior cannot be assured to be portable across 749 conforming implementations. 750 751 unspecified 752 Describes the nature of a value or behavior not 753 specified by this document which results from use of a 754 valid program construct or valid data input. The value 755 or behavior may vary among implementations that conform 756 to this document. An application should not rely on the 757 existence or validity of the value or behavior. An 758 application that relies on any particular value or 759 behavior cannot be assured to be portable across 760 conforming implementations. 761 762 Other terms and definitions used in this document shall have 763 the same meaning as defined in Chapter 3 of the Base 764 Definitions volume of ISO POSIX (2003). 765 __________________________________________________________ 766 767 Chapter 6. Documentation Conventions 768 769 Throughout this document, the following typographic conventions 770 are used: 771 772 function() 773 774 the name of a function 775 command 776 777 the name of a command or utility 778 CONSTANT 779 780 a constant value 781 parameter 782 783 a parameter 784 variable 785 786 a variable 787 788 Throughout this specification, several tables of interfaces are 789 presented. Each entry in these tables has the following format: 790 791 name 792 793 the name of the interface 794 (symver) 795 796 An optional symbol version identifier, if required. 797 [refno] 798 799 A reference number indexing the table of referenced 800 specifications that follows this table. 801 802 For example, 803 804 forkpty(GLIBC_2.0) [SUSv3] 805 806 refers to the interface named forkpty() with symbol version 807 GLIBC_2.0 that is defined in the SUSv3 reference. 808 809 Note: Symbol versions are defined in the architecture 810 specific parts of ISO/IEC 23360 only. 811 812 II. Executable and Linking Format (ELF) 813 814 Table of Contents 815 7. Introduction 816 8. Low Level System Information 817 818 8.1. Machine Interface 819 820 8.1.1. Processor Architecture 821 8.1.2. Data Representation 822 823 8.2. Function Calling Sequence 824 825 8.2.1. Registers 826 8.2.2. Stack Frame 827 8.2.3. Parameter Passing 828 8.2.4. Variable Argument Lists 829 8.2.5. Return Values 830 831 8.3. Operating System Interface 832 833 8.3.1. Virtual Address Space 834 8.3.2. Page Size 835 8.3.3. Virtual Address Assignments 836 8.3.4. Managing the Process Stack 837 8.3.5. Coding Guidelines 838 8.3.6. Processor Execution Mode 839 8.3.7. Exception Interface 840 8.3.8. Signal Delivery 841 842 8.4. Process Initialization 843 844 8.4.1. Registers 845 8.4.2. Process Stack 846 847 8.5. Coding Examples 848 849 8.5.1. Code Model Overview 850 8.5.2. Function Prolog and Epilog 851 8.5.3. Profiling 852 8.5.4. Data Objects 853 8.5.5. Function Calls 854 8.5.6. Dynamic Stack Space Allocation 855 856 8.6. Debug Information 857 858 9. Object Format 859 860 9.1. Introduction 861 9.2. ELF Header 862 863 9.2.1. Machine Information 864 865 9.3. Sections 866 867 9.3.1. Special Sections 868 9.3.2. Linux Special Sections 869 870 9.4. Symbol Table 871 9.5. Relocation 872 873 9.5.1. Relocation Types 874 875 10. Program Loading and Dynamic Linking 876 877 10.1. Introduction 878 10.2. Program Loading 879 10.3. Dynamic Linking 880 881 10.3.1. Dynamic Section 882 10.3.2. Global Offset Table 883 10.3.3. Function Addresses 884 10.3.4. Procedure Linkage Table 885 __________________________________________________________ 886 887 Chapter 7. Introduction 888 889 Executable and Linking Format (ELF) defines the object format 890 for compiled applications. This specification supplements the 891 information found in System V ABI Update and LINUX for zSeries 892 Application Binary Interface Supplement, and is intended to 893 document additions made since the publication of that document. 894 __________________________________________________________ 895 896 Chapter 8. Low Level System Information 897 898 8.1. Machine Interface 899 900 8.1.1. Processor Architecture 901 902 The z/Architecture is specified by the following documents 903 904 * LINUX for zSeries Application Binary Interface Supplement 905 * z/Architecture Principles of Operation 906 907 Only the non optional features of z/Architecture processor 908 instruction set may be assumed to be present. An application 909 should determine if any additional instruction set features are 910 available before using those additional features. If a feature 911 is not present, then a conforming application shall not use it. 912 913 Conforming applications shall not invoke the implementations 914 underlying system call interface directly. The interfaces in 915 the implementation base libraries shall be used instead. 916 917 Rationale: Implementation-supplied base libraries may use 918 the system call interface but applications must not assume 919 any particular operating system or kernel version is 920 present. 921 922 Applications conforming to this specification must provide 923 feedback to the user if a feature that is required for correct 924 execution of the application is not present. Applications 925 conforming to this specification should attempt to execute in a 926 diminished capacity if a required instruction set feature is 927 not present. 928 929 This specfication does not provide any performance guarantees 930 of a conforming system. A system conforming to this 931 specification may be implemented in either hardware or 932 software. 933 __________________________________________________________ 934 935 8.1.2. Data Representation 936 937 LSB-conforming applications shall use the data representation 938 as defined in Chapter 1 of the LINUX for zSeries Application 939 Binary Interface Supplement. 940 __________________________________________________________ 941 942 8.1.2.1. Byte Ordering 943 944 See chapter 1 of the LINUX for zSeries Application Binary 945 Interface Supplement. 946 __________________________________________________________ 947 948 8.1.2.2. Fundamental Types 949 950 See chapter 1 of the LINUX for zSeries Application Binary 951 Interface Supplement. 952 __________________________________________________________ 953 954 8.1.2.3. Aggregates and Unions 955 956 See chapter 1 of the LINUX for zSeries Application Binary 957 Interface Supplement. 958 __________________________________________________________ 959 960 8.1.2.4. Bit Fields 961 962 See chapter 1 of the LINUX for zSeries Application Binary 963 Interface Supplement. 964 __________________________________________________________ 965 966 8.2. Function Calling Sequence 967 968 LSB-conforming applications shall use the function calling 969 sequence as defined in Chapter 1 of the LINUX for zSeries 970 Application Binary Interface Supplement. 971 __________________________________________________________ 972 973 8.2.1. Registers 974 975 See chapter 1 of the LINUX for zSeries Application Binary 976 Interface Supplement. 977 __________________________________________________________ 978 979 8.2.2. Stack Frame 980 981 See chapter 1 of the LINUX for zSeries Application Binary 982 Interface Supplement. 983 __________________________________________________________ 984 985 8.2.3. Parameter Passing 986 987 See chapter 1 of the LINUX for zSeries Application Binary 988 Interface Supplement. 989 __________________________________________________________ 990 991 8.2.4. Variable Argument Lists 992 993 See chapter 1 of the LINUX for zSeries Application Binary 994 Interface Supplement. 995 __________________________________________________________ 996 997 8.2.5. Return Values 998 999 See chapter 1 of the LINUX for zSeries Application Binary 1000 Interface Supplement. 1001 __________________________________________________________ 1002 1003 8.3. Operating System Interface 1004 1005 LSB-conforming applications shall use the Operating System 1006 Interfaces as defined in Chapter 1 of the LINUX for zSeries 1007 Application Binary Interface Supplement. 1008 __________________________________________________________ 1009 1010 8.3.1. Virtual Address Space 1011 1012 See chapter 1 of the LINUX for zSeries Application Binary 1013 Interface Supplement. 1014 __________________________________________________________ 1015 1016 8.3.2. Page Size 1017 1018 See chapter 1 of the LINUX for zSeries Application Binary 1019 Interface Supplement. 1020 __________________________________________________________ 1021 1022 8.3.3. Virtual Address Assignments 1023 1024 See chapter 1 of the LINUX for zSeries Application Binary 1025 Interface Supplement. 1026 __________________________________________________________ 1027 1028 8.3.4. Managing the Process Stack 1029 1030 See chapter 1 of the LINUX for zSeries Application Binary 1031 Interface Supplement. 1032 __________________________________________________________ 1033 1034 8.3.5. Coding Guidelines 1035 1036 See chapter 1 of the LINUX for zSeries Application Binary 1037 Interface Supplement. 1038 __________________________________________________________ 1039 1040 8.3.6. Processor Execution Mode 1041 1042 See chapter 1 of the LINUX for zSeries Application Binary 1043 Interface Supplement. 1044 __________________________________________________________ 1045 1046 8.3.7. Exception Interface 1047 1048 See chapter 1 of the LINUX for zSeries Application Binary 1049 Interface Supplement. 1050 __________________________________________________________ 1051 1052 8.3.8. Signal Delivery 1053 1054 See chapter 1 of the LINUX for zSeries Application Binary 1055 Interface Supplement. 1056 __________________________________________________________ 1057 1058 8.3.8.1. Signal Handler Interface 1059 1060 See chapter 1 of the LINUX for zSeries Application Binary 1061 Interface Supplement. 1062 __________________________________________________________ 1063 1064 8.4. Process Initialization 1065 1066 LSB-conforming applications shall use the Process 1067 Initialization as defined in Chapter 1 of the LINUX for zSeries 1068 Application Binary Interface Supplement. 1069 __________________________________________________________ 1070 1071 8.4.1. Registers 1072 1073 See chapter 1 of the LINUX for zSeries Application Binary 1074 Interface Supplement. 1075 __________________________________________________________ 1076 1077 8.4.2. Process Stack 1078 1079 See chapter 1 of the LINUX for zSeries Application Binary 1080 Interface Supplement. 1081 __________________________________________________________ 1082 1083 8.5. Coding Examples 1084 1085 LSB-conforming applications may implement fundamental 1086 operations using the Coding Examples as defined in Chapter 1 of 1087 the LINUX for zSeries Application Binary Interface Supplement. 1088 __________________________________________________________ 1089 1090 8.5.1. Code Model Overview 1091 1092 See chapter 1 of the LINUX for zSeries Application Binary 1093 Interface Supplement. 1094 __________________________________________________________ 1095 1096 8.5.2. Function Prolog and Epilog 1097 1098 See chapter 1 of the LINUX for zSeries Application Binary 1099 Interface Supplement. 1100 __________________________________________________________ 1101 1102 8.5.3. Profiling 1103 1104 See chapter 1 of the LINUX for zSeries Application Binary 1105 Interface Supplement. 1106 __________________________________________________________ 1107 1108 8.5.4. Data Objects 1109 1110 See chapter 1 of the LINUX for zSeries Application Binary 1111 Interface Supplement. 1112 __________________________________________________________ 1113 1114 8.5.5. Function Calls 1115 1116 See chapter 1 of the LINUX for zSeries Application Binary 1117 Interface Supplement. 1118 __________________________________________________________ 1119 1120 8.5.6. Dynamic Stack Space Allocation 1121 1122 See chapter 1 of the LINUX for zSeries Application Binary 1123 Interface Supplement. 1124 __________________________________________________________ 1125 1126 8.6. Debug Information 1127 1128 The LSB does not currently specify the format of Debug 1129 information. 1130 __________________________________________________________ 1131 1132 Chapter 9. Object Format 1133 1134 9.1. Introduction 1135 1136 LSB-conforming implementations shall support an object file 1137 format, called Executable and Linking Format (ELF) as defined 1138 by the System V ABI , System V ABI Update , LINUX for zSeries 1139 Application Binary Interface Supplement and as supplemented by 1140 the generic LSB and this document. 1141 __________________________________________________________ 1142 1143 9.2. ELF Header 1144 1145 9.2.1. Machine Information 1146 1147 LSB-conforming applications shall use the Machine Information 1148 as defined in Chapter 2 of the LINUX for zSeries Application 1149 Binary Interface Supplement. 1150 __________________________________________________________ 1151 1152 9.3. Sections 1153 1154 See chapter 2 of the LINUX for zSeries Application Binary 1155 Interface Supplement. 1156 __________________________________________________________ 1157 1158 9.3.1. Special Sections 1159 1160 The following sections are defined in the LINUX for zSeries 1161 Application Binary Interface Supplement. 1162 1163 Table 9-1. ELF Special Sections 1164 Name Type Attributes 1165 .got SHT_PROGBITS SHF_ALLOC+SHF_WRITE 1166 .plt SHT_PROGBITS SHF_ALLOC+SHF_EXECINSTR 1167 1168 .got 1169 1170 This section holds the global offset table. 1171 .plt 1172 1173 This section holds the procedure linkage table. 1174 __________________________________________________________ 1175 1176 9.3.2. Linux Special Sections 1177 1178 The following Linux S/390 specific sections are defined here. 1179 1180 Table 9-2. Additional Special Sections 1181 Name Type Attributes 1182 .rela.dyn SHT_RELA SHF_ALLOC 1183 .rela.plt SHT_RELA SHF_ALLOC 1184 .sbss SHT_PROGBITS SHF_WRITE 1185 1186 .rela.dyn 1187 1188 This section holds RELA type relocation information for all 1189 sections of a shared library except the PLT. 1190 .rela.plt 1191 1192 This section holds RELA type relocation information for the PLT 1193 section of a shared library or dynamically linked application 1194 .sbss 1195 1196 This section holds uninitialized data that contribute to the 1197 program's memory image. The system initializes the data with 1198 zeroes when the program begins to run. 1199 __________________________________________________________ 1200 1201 9.4. Symbol Table 1202 1203 LSB-conforming applications shall use the Symbol Table as 1204 defined in Chapter 2 of the LINUX for zSeries Application 1205 Binary Interface Supplement. 1206 __________________________________________________________ 1207 1208 9.5. Relocation 1209 1210 LSB-conforming applications shall use Relocations as defined in 1211 Chapter 2 of the LINUX for zSeries Application Binary Interface 1212 Supplement. 1213 __________________________________________________________ 1214 1215 9.5.1. Relocation Types 1216 1217 See chapter 2 of the LINUX for zSeries Application Binary 1218 Interface Supplement. 1219 __________________________________________________________ 1220 1221 Chapter 10. Program Loading and Dynamic Linking 1222 1223 10.1. Introduction 1224 1225 LSB-conforming implementations shall support the object file 1226 information and system actions that create running programs as 1227 specified in the System V ABI , System V ABI Update , LINUX for 1228 zSeries Application Binary Interface Supplement and as 1229 supplemented by the ISO/IEC 23360 Part 1 and this document. 1230 __________________________________________________________ 1231 1232 10.2. Program Loading 1233 1234 See Chapter 3 of the LINUX for zSeries Application Binary 1235 Interface Supplement. 1236 __________________________________________________________ 1237 1238 10.3. Dynamic Linking 1239 1240 See Chapter 3 of the LINUX for zSeries Application Binary 1241 Interface Supplement. 1242 __________________________________________________________ 1243 1244 10.3.1. Dynamic Section 1245 1246 The following dynamic entries are defined in the LINUX for 1247 zSeries Application Binary Interface Supplement. 1248 1249 DT_JMPREL 1250 1251 This entry is associated with a table of relocation entries for 1252 the procedure linkage table. This entry is mandatory both for 1253 executable and shared object files 1254 DT_PLTGOT 1255 1256 This entry's d_ptr member gives the address of the first byte 1257 in the procedure linkage table 1258 __________________________________________________________ 1259 1260 10.3.2. Global Offset Table 1261 1262 See Chapter 3 of the LINUX for zSeries Application Binary 1263 Interface Supplement. 1264 __________________________________________________________ 1265 1266 10.3.3. Function Addresses 1267 1268 See chapter 3 of the LINUX for zSeries Application Binary 1269 Interface Supplement. 1270 __________________________________________________________ 1271 1272 10.3.4. Procedure Linkage Table 1273 1274 See chapter 3 of the LINUX for zSeries Application Binary 1275 Interface Supplement. 1276 1277 III. Base Libraries 1278 1279 Table of Contents 1280 11. Libraries 1281 1282 11.1. Program Interpreter/Dynamic Linker 1283 11.2. Interfaces for libc 1284 1285 11.2.1. RPC 1286 11.2.2. System Calls 1287 11.2.3. Standard I/O 1288 11.2.4. Signal Handling 1289 11.2.5. Localization Functions 1290 11.2.6. Posix Spawn Option 1291 11.2.7. Posix Advisory Option 1292 11.2.8. Socket Interface 1293 11.2.9. Wide Characters 1294 11.2.10. String Functions 1295 11.2.11. IPC Functions 1296 11.2.12. Regular Expressions 1297 11.2.13. Character Type Functions 1298 11.2.14. Time Manipulation 1299 11.2.15. Terminal Interface Functions 1300 11.2.16. System Database Interface 1301 11.2.17. Language Support 1302 11.2.18. Large File Support 1303 11.2.19. Standard Library 1304 1305 11.3. Data Definitions for libc 1306 1307 11.3.1. ctype.h 1308 11.3.2. dirent.h 1309 11.3.3. errno.h 1310 11.3.4. fcntl.h 1311 11.3.5. fnmatch.h 1312 11.3.6. ftw.h 1313 11.3.7. getopt.h 1314 11.3.8. glob.h 1315 11.3.9. iconv.h 1316 11.3.10. langinfo.h 1317 11.3.11. limits.h 1318 11.3.12. locale.h 1319 11.3.13. net/if.h 1320 11.3.14. netdb.h 1321 11.3.15. netinet/in.h 1322 11.3.16. netinet/ip.h 1323 11.3.17. netinet/tcp.h 1324 11.3.18. netinet/udp.h 1325 11.3.19. nl_types.h 1326 11.3.20. pwd.h 1327 11.3.21. regex.h 1328 11.3.22. rpc/auth.h 1329 11.3.23. rpc/clnt.h 1330 11.3.24. rpc/rpc_msg.h 1331 11.3.25. rpc/svc.h 1332 11.3.26. rpc/types.h 1333 11.3.27. rpc/xdr.h 1334 11.3.28. sched.h 1335 11.3.29. search.h 1336 11.3.30. setjmp.h 1337 11.3.31. signal.h 1338 11.3.32. spawn.h 1339 11.3.33. stddef.h 1340 11.3.34. stdint.h 1341 11.3.35. stdio.h 1342 11.3.36. stdlib.h 1343 11.3.37. sys/file.h 1344 11.3.38. sys/ioctl.h 1345 11.3.39. sys/ipc.h 1346 11.3.40. sys/mman.h 1347 11.3.41. sys/msg.h 1348 11.3.42. sys/param.h 1349 11.3.43. sys/poll.h 1350 11.3.44. sys/resource.h 1351 11.3.45. sys/sem.h 1352 11.3.46. sys/shm.h 1353 11.3.47. sys/socket.h 1354 11.3.48. sys/stat.h 1355 11.3.49. sys/statfs.h 1356 11.3.50. sys/statvfs.h 1357 11.3.51. sys/time.h 1358 11.3.52. sys/timeb.h 1359 11.3.53. sys/times.h 1360 11.3.54. sys/types.h 1361 11.3.55. sys/un.h 1362 11.3.56. sys/utsname.h 1363 11.3.57. sys/wait.h 1364 11.3.58. syslog.h 1365 11.3.59. termios.h 1366 11.3.60. ucontext.h 1367 11.3.61. ulimit.h 1368 11.3.62. unistd.h 1369 11.3.63. utime.h 1370 11.3.64. utmp.h 1371 11.3.65. utmpx.h 1372 11.3.66. wctype.h 1373 11.3.67. wordexp.h 1374 1375 11.4. Interfaces for libm 1376 1377 11.4.1. Math 1378 1379 11.5. Data Definitions for libm 1380 1381 11.5.1. complex.h 1382 11.5.2. fenv.h 1383 11.5.3. math.h 1384 1385 11.6. Interfaces for libpthread 1386 1387 11.6.1. Realtime Threads 1388 11.6.2. Advanced Realtime Threads 1389 11.6.3. Posix Threads 1390 11.6.4. Thread aware versions of libc interfaces 1391 1392 11.7. Data Definitions for libpthread 1393 1394 11.7.1. pthread.h 1395 11.7.2. semaphore.h 1396 1397 11.8. Interfaces for libgcc_s 1398 1399 11.8.1. Unwind Library 1400 1401 11.9. Data Definitions for libgcc_s 1402 1403 11.9.1. unwind.h 1404 1405 11.10. Interface Definitions for libgcc_s 1406 1407 _Unwind_DeleteException -- private C++ error 1408 handling method 1409 1410 _Unwind_Find_FDE -- private C++ error handling 1411 method 1412 1413 _Unwind_ForcedUnwind -- private C++ error handling 1414 method 1415 1416 _Unwind_GetDataRelBase -- private IA64 C++ error 1417 handling method 1418 1419 _Unwind_GetGR -- private C++ error handling method 1420 _Unwind_GetIP -- private C++ error handling method 1421 _Unwind_GetLanguageSpecificData -- private C++ error 1422 handling method 1423 1424 _Unwind_GetRegionStart -- private C++ error handling 1425 method 1426 1427 _Unwind_GetTextRelBase -- private IA64 C++ error 1428 handling method 1429 1430 _Unwind_RaiseException -- private C++ error handling 1431 method 1432 1433 _Unwind_Resume -- private C++ error handling method 1434 _Unwind_SetGR -- private C++ error handling method 1435 _Unwind_SetIP -- private C++ error handling method 1436 1437 11.11. Interfaces for libdl 1438 1439 11.11.1. Dynamic Loader 1440 1441 11.12. Data Definitions for libdl 1442 1443 11.12.1. dlfcn.h 1444 1445 11.13. Interfaces for libcrypt 1446 1447 11.13.1. Encryption 1448 __________________________________________________________ 1449 1450 Chapter 11. Libraries 1451 1452 An LSB-conforming implementation shall support base libraries 1453 which provide interfaces for accessing the operating system, 1454 processor and other hardware in the system. 1455 1456 Only those interfaces that are unique to the z/Architecture 1457 platform are defined here. This section should be used in 1458 conjunction with the corresponding section in the Linux 1459 Standard Base Specification. 1460 __________________________________________________________ 1461 1462 11.1. Program Interpreter/Dynamic Linker 1463 1464 The Program Interpreter shall be /lib64/ld-lsb-s390x.so.3. 1465 __________________________________________________________ 1466 1467 11.2. Interfaces for libc 1468 1469 Table 11-1 defines the library name and shared object name for 1470 the libc library 1471 1472 Table 11-1. libc Definition 1473 Library: libc 1474 SONAME: libc.so.6 1475 1476 The behavior of the interfaces in this library is specified by 1477 the following specifications: 1478 1479 [LFS] Large File Support 1480 [LSB] ISO/IEC 23360 Part 1 1481 [SUSv2] SUSv2 1482 [SUSv3] ISO POSIX (2003) 1483 [SVID.3] SVID Issue 3 1484 [SVID.4] SVID Issue 4 1485 __________________________________________________________ 1486 1487 11.2.1. RPC 1488 __________________________________________________________ 1489 1490 11.2.1.1. Interfaces for RPC 1491 1492 An LSB conforming implementation shall provide the architecture 1493 specific functions for RPC specified in Table 11-2, with the 1494 full mandatory functionality as described in the referenced 1495 underlying specification. 1496 1497 Table 11-2. libc - RPC Function Interfaces 1498 authnone_create(GLIBC_2.2) [SVID.4] clnt_create(GLIBC_2.2) 1499 [SVID.4] clnt_pcreateerror(GLIBC_2.2) [SVID.4] 1500 clnt_perrno(GLIBC_2.2) [SVID.4] 1501 clnt_perror(GLIBC_2.2) [SVID.4] clnt_spcreateerror(GLIBC_2.2) 1502 [SVID.4] clnt_sperrno(GLIBC_2.2) [SVID.4] 1503 clnt_sperror(GLIBC_2.2) [SVID.4] 1504 key_decryptsession(GLIBC_2.2) [SVID.3] pmap_getport(GLIBC_2.2) 1505 [LSB] pmap_set(GLIBC_2.2) [LSB] pmap_unset(GLIBC_2.2) [LSB] 1506 svc_getreqset(GLIBC_2.2) [SVID.3] svc_register(GLIBC_2.2) [LSB] 1507 svc_run(GLIBC_2.2) [LSB] svc_sendreply(GLIBC_2.2) [LSB] 1508 svcerr_auth(GLIBC_2.2) [SVID.3] svcerr_decode(GLIBC_2.2) 1509 [SVID.3] svcerr_noproc(GLIBC_2.2) [SVID.3] 1510 svcerr_noprog(GLIBC_2.2) [SVID.3] 1511 svcerr_progvers(GLIBC_2.2) [SVID.3] svcerr_systemerr(GLIBC_2.2) 1512 [SVID.3] svcerr_weakauth(GLIBC_2.2) [SVID.3] 1513 svctcp_create(GLIBC_2.2) [LSB] 1514 svcudp_create(GLIBC_2.2) [LSB] xdr_accepted_reply(GLIBC_2.2) 1515 [SVID.3] xdr_array(GLIBC_2.2) [SVID.3] xdr_bool(GLIBC_2.2) 1516 [SVID.3] 1517 xdr_bytes(GLIBC_2.2) [SVID.3] xdr_callhdr(GLIBC_2.2) [SVID.3] 1518 xdr_callmsg(GLIBC_2.2) [SVID.3] xdr_char(GLIBC_2.2) [SVID.3] 1519 xdr_double(GLIBC_2.2) [SVID.3] xdr_enum(GLIBC_2.2) [SVID.3] 1520 xdr_float(GLIBC_2.2) [SVID.3] xdr_free(GLIBC_2.2) [SVID.3] 1521 xdr_int(GLIBC_2.2) [SVID.3] xdr_long(GLIBC_2.2) [SVID.3] 1522 xdr_opaque(GLIBC_2.2) [SVID.3] xdr_opaque_auth(GLIBC_2.2) 1523 [SVID.3] 1524 xdr_pointer(GLIBC_2.2) [SVID.3] xdr_reference(GLIBC_2.2) 1525 [SVID.3] xdr_rejected_reply(GLIBC_2.2) [SVID.3] 1526 xdr_replymsg(GLIBC_2.2) [SVID.3] 1527 xdr_short(GLIBC_2.2) [SVID.3] xdr_string(GLIBC_2.2) [SVID.3] 1528 xdr_u_char(GLIBC_2.2) [SVID.3] xdr_u_int(GLIBC_2.2) [LSB] 1529 xdr_u_long(GLIBC_2.2) [SVID.3] xdr_u_short(GLIBC_2.2) [SVID.3] 1530 xdr_union(GLIBC_2.2) [SVID.3] xdr_vector(GLIBC_2.2) [SVID.3] 1531 xdr_void(GLIBC_2.2) [SVID.3] xdr_wrapstring(GLIBC_2.2) [SVID.3] 1532 xdrmem_create(GLIBC_2.2) [SVID.3] xdrrec_create(GLIBC_2.2) 1533 [SVID.3] 1534 xdrrec_eof(GLIBC_2.2) [SVID.3] xdrstdio_create(GLIBC_2.2) [LSB] 1535 __________________________________________________________ 1536 1537 11.2.2. System Calls 1538 __________________________________________________________ 1539 1540 11.2.2.1. Interfaces for System Calls 1541 1542 An LSB conforming implementation shall provide the architecture 1543 specific functions for System Calls specified in Table 11-3, 1544 with the full mandatory functionality as described in the 1545 referenced underlying specification. 1546 1547 Table 11-3. libc - System Calls Function Interfaces 1548 __fxstat(GLIBC_2.2) [LSB] __getpgid(GLIBC_2.2) [LSB] 1549 __lxstat(GLIBC_2.2) [LSB] __xmknod(GLIBC_2.2) [LSB] 1550 __xstat(GLIBC_2.2) [LSB] access(GLIBC_2.2) [SUSv3] 1551 acct(GLIBC_2.2) [LSB] alarm(GLIBC_2.2) [SUSv3] 1552 brk(GLIBC_2.2) [SUSv2] chdir(GLIBC_2.2) [SUSv3] 1553 chmod(GLIBC_2.2) [SUSv3] chown(GLIBC_2.2) [SUSv3] 1554 chroot(GLIBC_2.2) [SUSv2] clock(GLIBC_2.2) [SUSv3] 1555 close(GLIBC_2.2) [SUSv3] closedir(GLIBC_2.2) [SUSv3] 1556 creat(GLIBC_2.2) [SUSv3] dup(GLIBC_2.2) [SUSv3] dup2(GLIBC_2.2) 1557 [SUSv3] execl(GLIBC_2.2) [SUSv3] 1558 execle(GLIBC_2.2) [SUSv3] execlp(GLIBC_2.2) [SUSv3] 1559 execv(GLIBC_2.2) [SUSv3] execve(GLIBC_2.2) [SUSv3] 1560 execvp(GLIBC_2.2) [SUSv3] exit(GLIBC_2.2) [SUSv3] 1561 fchdir(GLIBC_2.2) [SUSv3] fchmod(GLIBC_2.2) [SUSv3] 1562 fchown(GLIBC_2.2) [SUSv3] fcntl(GLIBC_2.2) [LSB] 1563 fdatasync(GLIBC_2.2) [SUSv3] flock(GLIBC_2.2) [LSB] 1564 fork(GLIBC_2.2) [SUSv3] fstatfs(GLIBC_2.2) [LSB] 1565 fstatvfs(GLIBC_2.2) [SUSv3] fsync(GLIBC_2.2) [SUSv3] 1566 ftime(GLIBC_2.2) [SUSv3] ftruncate(GLIBC_2.2) [SUSv3] 1567 getcontext(GLIBC_2.2) [SUSv3] getdtablesize(GLIBC_2.2) [LSB] 1568 getegid(GLIBC_2.2) [SUSv3] geteuid(GLIBC_2.2) [SUSv3] 1569 getgid(GLIBC_2.2) [SUSv3] getgroups(GLIBC_2.2) [SUSv3] 1570 getitimer(GLIBC_2.2) [SUSv3] getloadavg(GLIBC_2.2) [LSB] 1571 getpagesize(GLIBC_2.2) [LSB] getpgid(GLIBC_2.2) [SUSv3] 1572 getpgrp(GLIBC_2.2) [SUSv3] getpid(GLIBC_2.2) [SUSv3] 1573 getppid(GLIBC_2.2) [SUSv3] getpriority(GLIBC_2.2) [SUSv3] 1574 getrlimit(GLIBC_2.2) [SUSv3] getrusage(GLIBC_2.2) [SUSv3] 1575 getsid(GLIBC_2.2) [SUSv3] getuid(GLIBC_2.2) [SUSv3] 1576 getwd(GLIBC_2.2) [SUSv3] initgroups(GLIBC_2.2) [LSB] 1577 ioctl(GLIBC_2.2) [LSB] kill(GLIBC_2.2) [LSB] 1578 killpg(GLIBC_2.2) [SUSv3] lchown(GLIBC_2.2) [SUSv3] 1579 link(GLIBC_2.2) [LSB] lockf(GLIBC_2.2) [SUSv3] 1580 lseek(GLIBC_2.2) [SUSv3] mkdir(GLIBC_2.2) [SUSv3] 1581 mkfifo(GLIBC_2.2) [SUSv3] mlock(GLIBC_2.2) [SUSv3] 1582 mlockall(GLIBC_2.2) [SUSv3] mmap(GLIBC_2.2) [SUSv3] 1583 mprotect(GLIBC_2.2) [SUSv3] mremap(GLIBC_2.2) [LSB] 1584 msync(GLIBC_2.2) [SUSv3] munlock(GLIBC_2.2) [SUSv3] 1585 munlockall(GLIBC_2.2) [SUSv3] munmap(GLIBC_2.2) [SUSv3] 1586 nanosleep(GLIBC_2.2) [SUSv3] nice(GLIBC_2.2) [SUSv3] 1587 open(GLIBC_2.2) [SUSv3] opendir(GLIBC_2.2) [SUSv3] 1588 pathconf(GLIBC_2.2) [SUSv3] pause(GLIBC_2.2) [SUSv3] 1589 pipe(GLIBC_2.2) [SUSv3] poll(GLIBC_2.2) [SUSv3] 1590 pselect(GLIBC_2.2) [SUSv3] read(GLIBC_2.2) [SUSv3] 1591 readdir(GLIBC_2.2) [SUSv3] readdir_r(GLIBC_2.2) [SUSv3] 1592 readlink(GLIBC_2.2) [SUSv3] readv(GLIBC_2.2) [SUSv3] 1593 rename(GLIBC_2.2) [SUSv3] rmdir(GLIBC_2.2) [SUSv3] 1594 sbrk(GLIBC_2.2) [SUSv2] sched_get_priority_max(GLIBC_2.2) 1595 [SUSv3] sched_get_priority_min(GLIBC_2.2) [SUSv3] 1596 sched_getparam(GLIBC_2.2) [SUSv3] 1597 sched_getscheduler(GLIBC_2.2) [SUSv3] 1598 sched_rr_get_interval(GLIBC_2.2) [SUSv3] 1599 sched_setparam(GLIBC_2.2) [SUSv3] sched_setscheduler(GLIBC_2.2) 1600 [LSB] 1601 sched_yield(GLIBC_2.2) [SUSv3] select(GLIBC_2.2) [SUSv3] 1602 setcontext(GLIBC_2.2) [SUSv3] setegid(GLIBC_2.2) [SUSv3] 1603 seteuid(GLIBC_2.2) [SUSv3] setgid(GLIBC_2.2) [SUSv3] 1604 setitimer(GLIBC_2.2) [SUSv3] setpgid(GLIBC_2.2) [SUSv3] 1605 setpgrp(GLIBC_2.2) [SUSv3] setpriority(GLIBC_2.2) [SUSv3] 1606 setregid(GLIBC_2.2) [SUSv3] setreuid(GLIBC_2.2) [SUSv3] 1607 setrlimit(GLIBC_2.2) [SUSv3] setrlimit64(GLIBC_2.2) [LFS] 1608 setsid(GLIBC_2.2) [SUSv3] setuid(GLIBC_2.2) [SUSv3] 1609 sleep(GLIBC_2.2) [SUSv3] statfs(GLIBC_2.2) [LSB] 1610 statvfs(GLIBC_2.2) [SUSv3] stime(GLIBC_2.2) [LSB] 1611 symlink(GLIBC_2.2) [SUSv3] sync(GLIBC_2.2) [SUSv3] 1612 sysconf(GLIBC_2.2) [LSB] time(GLIBC_2.2) [SUSv3] 1613 times(GLIBC_2.2) [SUSv3] truncate(GLIBC_2.2) [SUSv3] 1614 ulimit(GLIBC_2.2) [SUSv3] umask(GLIBC_2.2) [SUSv3] 1615 uname(GLIBC_2.2) [SUSv3] unlink(GLIBC_2.2) [LSB] 1616 utime(GLIBC_2.2) [SUSv3] utimes(GLIBC_2.2) [SUSv3] 1617 vfork(GLIBC_2.2) [SUSv3] wait(GLIBC_2.2) [SUSv3] 1618 wait4(GLIBC_2.2) [LSB] waitid(GLIBC_2.2) [SUSv3] 1619 waitpid(GLIBC_2.2) [LSB] write(GLIBC_2.2) [SUSv3] 1620 writev(GLIBC_2.2) [SUSv3] 1621 1622 An LSB conforming implementation shall provide the architecture 1623 specific deprecated functions for System Calls specified in 1624 Table 11-4, with the full mandatory functionality as described 1625 in the referenced underlying specification. 1626 1627 Note: These interfaces are deprecated, and applications 1628 should avoid using them. These interfaces may be withdrawn 1629 in future releases of this specification. 1630 1631 Table 11-4. libc - System Calls Deprecated Function Interfaces 1632 fstatfs(GLIBC_2.2) [LSB] getdtablesize(GLIBC_2.2) [LSB] 1633 getpagesize(GLIBC_2.2) [LSB] getwd(GLIBC_2.2) [SUSv3] 1634 statfs(GLIBC_2.2) [LSB] 1635 __________________________________________________________ 1636 1637 11.2.3. Standard I/O 1638 __________________________________________________________ 1639 1640 11.2.3.1. Interfaces for Standard I/O 1641 1642 An LSB conforming implementation shall provide the architecture 1643 specific functions for Standard I/O specified in Table 11-5, 1644 with the full mandatory functionality as described in the 1645 referenced underlying specification. 1646 1647 Table 11-5. libc - Standard I/O Function Interfaces 1648 _IO_feof(GLIBC_2.2) [LSB] _IO_getc(GLIBC_2.2) [LSB] 1649 _IO_putc(GLIBC_2.2) [LSB] _IO_puts(GLIBC_2.2) [LSB] 1650 asprintf(GLIBC_2.2) [LSB] clearerr(GLIBC_2.2) [SUSv3] 1651 ctermid(GLIBC_2.2) [SUSv3] fclose(GLIBC_2.2) [SUSv3] 1652 fdopen(GLIBC_2.2) [SUSv3] feof(GLIBC_2.2) [SUSv3] 1653 ferror(GLIBC_2.2) [SUSv3] fflush(GLIBC_2.2) [SUSv3] 1654 fflush_unlocked(GLIBC_2.2) [LSB] fgetc(GLIBC_2.2) [SUSv3] 1655 fgetpos(GLIBC_2.2) [SUSv3] fgets(GLIBC_2.2) [SUSv3] 1656 fgetwc_unlocked(GLIBC_2.2) [LSB] fileno(GLIBC_2.2) [SUSv3] 1657 flockfile(GLIBC_2.2) [SUSv3] fopen(GLIBC_2.2) [SUSv3] 1658 fprintf(GLIBC_2.2) [SUSv3] fputc(GLIBC_2.2) [SUSv3] 1659 fputs(GLIBC_2.2) [SUSv3] fread(GLIBC_2.2) [SUSv3] 1660 freopen(GLIBC_2.2) [SUSv3] fscanf(GLIBC_2.2) [LSB] 1661 fseek(GLIBC_2.2) [SUSv3] fseeko(GLIBC_2.2) [SUSv3] 1662 fsetpos(GLIBC_2.2) [SUSv3] ftell(GLIBC_2.2) [SUSv3] 1663 ftello(GLIBC_2.2) [SUSv3] fwrite(GLIBC_2.2) [SUSv3] 1664 getc(GLIBC_2.2) [SUSv3] getc_unlocked(GLIBC_2.2) [SUSv3] 1665 getchar(GLIBC_2.2) [SUSv3] getchar_unlocked(GLIBC_2.2) [SUSv3] 1666 getw(GLIBC_2.2) [SUSv2] pclose(GLIBC_2.2) [SUSv3] 1667 popen(GLIBC_2.2) [SUSv3] printf(GLIBC_2.2) [SUSv3] 1668 putc(GLIBC_2.2) [SUSv3] putc_unlocked(GLIBC_2.2) [SUSv3] 1669 putchar(GLIBC_2.2) [SUSv3] putchar_unlocked(GLIBC_2.2) [SUSv3] 1670 puts(GLIBC_2.2) [SUSv3] putw(GLIBC_2.2) [SUSv2] 1671 remove(GLIBC_2.2) [SUSv3] rewind(GLIBC_2.2) [SUSv3] 1672 rewinddir(GLIBC_2.2) [SUSv3] scanf(GLIBC_2.2) [LSB] 1673 seekdir(GLIBC_2.2) [SUSv3] setbuf(GLIBC_2.2) [SUSv3] 1674 setbuffer(GLIBC_2.2) [LSB] setvbuf(GLIBC_2.2) [SUSv3] 1675 snprintf(GLIBC_2.2) [SUSv3] sprintf(GLIBC_2.2) [SUSv3] 1676 sscanf(GLIBC_2.2) [LSB] telldir(GLIBC_2.2) [SUSv3] 1677 tempnam(GLIBC_2.2) [SUSv3] ungetc(GLIBC_2.2) [SUSv3] 1678 vasprintf(GLIBC_2.2) [LSB] vdprintf(GLIBC_2.2) [LSB] 1679 vfprintf(GLIBC_2.2) [SUSv3] vprintf(GLIBC_2.2) [SUSv3] 1680 vsnprintf(GLIBC_2.2) [SUSv3] vsprintf(GLIBC_2.2) [SUSv3] 1681 1682 An LSB conforming implementation shall provide the architecture 1683 specific data interfaces for Standard I/O specified in Table 1684 11-6, with the full mandatory functionality as described in the 1685 referenced underlying specification. 1686 1687 Table 11-6. libc - Standard I/O Data Interfaces 1688 stderr(GLIBC_2.2) [SUSv3] stdin(GLIBC_2.2) [SUSv3] 1689 stdout(GLIBC_2.2) [SUSv3] 1690 __________________________________________________________ 1691 1692 11.2.4. Signal Handling 1693 __________________________________________________________ 1694 1695 11.2.4.1. Interfaces for Signal Handling 1696 1697 An LSB conforming implementation shall provide the architecture 1698 specific functions for Signal Handling specified in Table 11-7, 1699 with the full mandatory functionality as described in the 1700 referenced underlying specification. 1701 1702 Table 11-7. libc - Signal Handling Function Interfaces 1703 __libc_current_sigrtmax(GLIBC_2.2) [LSB] 1704 __libc_current_sigrtmin(GLIBC_2.2) [LSB] __sigsetjmp(GLIBC_2.2) 1705 [LSB] __sysv_signal(GLIBC_2.2) [LSB] 1706 __xpg_sigpause(GLIBC_2.2) [LSB] bsd_signal(GLIBC_2.2) [SUSv3] 1707 psignal(GLIBC_2.2) [LSB] raise(GLIBC_2.2) [SUSv3] 1708 sigaction(GLIBC_2.2) [SUSv3] sigaddset(GLIBC_2.2) [SUSv3] 1709 sigaltstack(GLIBC_2.2) [SUSv3] sigandset(GLIBC_2.2) [LSB] 1710 sigdelset(GLIBC_2.2) [SUSv3] sigemptyset(GLIBC_2.2) [SUSv3] 1711 sigfillset(GLIBC_2.2) [SUSv3] sighold(GLIBC_2.2) [SUSv3] 1712 sigignore(GLIBC_2.2) [SUSv3] siginterrupt(GLIBC_2.2) [SUSv3] 1713 sigisemptyset(GLIBC_2.2) [LSB] sigismember(GLIBC_2.2) [SUSv3] 1714 siglongjmp(GLIBC_2.2) [SUSv3] signal(GLIBC_2.2) [SUSv3] 1715 sigorset(GLIBC_2.2) [LSB] sigpause(GLIBC_2.2) [LSB] 1716 sigpending(GLIBC_2.2) [SUSv3] sigprocmask(GLIBC_2.2) [SUSv3] 1717 sigqueue(GLIBC_2.2) [SUSv3] sigrelse(GLIBC_2.2) [SUSv3] 1718 sigreturn(GLIBC_2.2) [LSB] sigset(GLIBC_2.2) [SUSv3] 1719 sigsuspend(GLIBC_2.2) [SUSv3] sigtimedwait(GLIBC_2.2) [SUSv3] 1720 sigwait(GLIBC_2.2) [SUSv3] sigwaitinfo(GLIBC_2.2) [SUSv3] 1721 1722 An LSB conforming implementation shall provide the architecture 1723 specific deprecated functions for Signal Handling specified in 1724 Table 11-8, with the full mandatory functionality as described 1725 in the referenced underlying specification. 1726 1727 Note: These interfaces are deprecated, and applications 1728 should avoid using them. These interfaces may be withdrawn 1729 in future releases of this specification. 1730 1731 Table 11-8. libc - Signal Handling Deprecated Function 1732 Interfaces 1733 sigpause(GLIBC_2.2) [LSB] 1734 1735 An LSB conforming implementation shall provide the architecture 1736 specific data interfaces for Signal Handling specified in Table 1737 11-9, with the full mandatory functionality as described in the 1738 referenced underlying specification. 1739 1740 Table 11-9. libc - Signal Handling Data Interfaces 1741 _sys_siglist(GLIBC_2.3.3) [LSB] 1742 __________________________________________________________ 1743 1744 11.2.5. Localization Functions 1745 __________________________________________________________ 1746 1747 11.2.5.1. Interfaces for Localization Functions 1748 1749 An LSB conforming implementation shall provide the architecture 1750 specific functions for Localization Functions specified in 1751 Table 11-10, with the full mandatory functionality as described 1752 in the referenced underlying specification. 1753 1754 Table 11-10. libc - Localization Functions Function Interfaces 1755 bind_textdomain_codeset(GLIBC_2.2) [LSB] 1756 bindtextdomain(GLIBC_2.2) [LSB] catclose(GLIBC_2.2) [SUSv3] 1757 catgets(GLIBC_2.2) [SUSv3] 1758 catopen(GLIBC_2.2) [SUSv3] dcgettext(GLIBC_2.2) [LSB] 1759 dcngettext(GLIBC_2.2) [LSB] dgettext(GLIBC_2.2) [LSB] 1760 dngettext(GLIBC_2.2) [LSB] gettext(GLIBC_2.2) [LSB] 1761 iconv(GLIBC_2.2) [SUSv3] iconv_close(GLIBC_2.2) [SUSv3] 1762 iconv_open(GLIBC_2.2) [SUSv3] localeconv(GLIBC_2.2) [SUSv3] 1763 ngettext(GLIBC_2.2) [LSB] nl_langinfo(GLIBC_2.2) [SUSv3] 1764 setlocale(GLIBC_2.2) [SUSv3] textdomain(GLIBC_2.2) [LSB] 1765 1766 An LSB conforming implementation shall provide the architecture 1767 specific data interfaces for Localization Functions specified 1768 in Table 11-11, with the full mandatory functionality as 1769 described in the referenced underlying specification. 1770 1771 Table 11-11. libc - Localization Functions Data Interfaces 1772 _nl_msg_cat_cntr(GLIBC_2.2) [LSB] 1773 __________________________________________________________ 1774 1775 11.2.6. Posix Spawn Option 1776 __________________________________________________________ 1777 1778 11.2.6.1. Interfaces for Posix Spawn Option 1779 1780 An LSB conforming implementation shall provide the architecture 1781 specific functions for Posix Spawn Option specified in Table 1782 11-12, with the full mandatory functionality as described in 1783 the referenced underlying specification. 1784 1785 Table 11-12. libc - Posix Spawn Option Function Interfaces 1786 posix_spawn(GLIBC_2.2) [SUSv3] 1787 posix_spawn_file_actions_addclose(GLIBC_2.2) [SUSv3] 1788 posix_spawn_file_actions_adddup2(GLIBC_2.2) [SUSv3] 1789 posix_spawn_file_actions_addopen(GLIBC_2.2) [SUSv3] 1790 posix_spawn_file_actions_destroy(GLIBC_2.2) [SUSv3] 1791 posix_spawn_file_actions_init(GLIBC_2.2) [SUSv3] 1792 posix_spawnattr_destroy(GLIBC_2.2) [SUSv3] 1793 posix_spawnattr_getflags(GLIBC_2.2) [SUSv3] 1794 posix_spawnattr_getpgroup(GLIBC_2.2) [SUSv3] 1795 posix_spawnattr_getschedparam(GLIBC_2.2) [SUSv3] 1796 posix_spawnattr_getschedpolicy(GLIBC_2.2) [SUSv3] 1797 posix_spawnattr_getsigdefault(GLIBC_2.2) [SUSv3] 1798 posix_spawnattr_getsigmask(GLIBC_2.2) [SUSv3] 1799 posix_spawnattr_init(GLIBC_2.2) [SUSv3] 1800 posix_spawnattr_setflags(GLIBC_2.2) [SUSv3] 1801 posix_spawnattr_setpgroup(GLIBC_2.2) [SUSv3] 1802 posix_spawnattr_setschedparam(GLIBC_2.2) [SUSv3] 1803 posix_spawnattr_setschedpolicy(GLIBC_2.2) [SUSv3] 1804 posix_spawnattr_setsigdefault(GLIBC_2.2) [SUSv3] 1805 posix_spawnattr_setsigmask(GLIBC_2.2) [SUSv3] 1806 posix_spawnp(GLIBC_2.2) [SUSv3] 1807 __________________________________________________________ 1808 1809 11.2.7. Posix Advisory Option 1810 __________________________________________________________ 1811 1812 11.2.7.1. Interfaces for Posix Advisory Option 1813 1814 An LSB conforming implementation shall provide the architecture 1815 specific functions for Posix Advisory Option specified in Table 1816 11-13, with the full mandatory functionality as described in 1817 the referenced underlying specification. 1818 1819 Table 11-13. libc - Posix Advisory Option Function Interfaces 1820 posix_fadvise(GLIBC_2.2) [SUSv3] posix_fallocate(GLIBC_2.2) 1821 [SUSv3] posix_madvise(GLIBC_2.2) [SUSv3] 1822 posix_memalign(GLIBC_2.2) [SUSv3] 1823 __________________________________________________________ 1824 1825 11.2.8. Socket Interface 1826 __________________________________________________________ 1827 1828 11.2.8.1. Interfaces for Socket Interface 1829 1830 An LSB conforming implementation shall provide the architecture 1831 specific functions for Socket Interface specified in Table 1832 11-14, with the full mandatory functionality as described in 1833 the referenced underlying specification. 1834 1835 Table 11-14. libc - Socket Interface Function Interfaces 1836 __h_errno_location(GLIBC_2.2) [LSB] accept(GLIBC_2.2) [SUSv3] 1837 bind(GLIBC_2.2) [SUSv3] bindresvport(GLIBC_2.2) [LSB] 1838 connect(GLIBC_2.2) [SUSv3] gethostid(GLIBC_2.2) [SUSv3] 1839 gethostname(GLIBC_2.2) [SUSv3] getpeername(GLIBC_2.2) [SUSv3] 1840 getsockname(GLIBC_2.2) [SUSv3] getsockopt(GLIBC_2.2) [LSB] 1841 if_freenameindex(GLIBC_2.2) [SUSv3] if_indextoname(GLIBC_2.2) 1842 [SUSv3] 1843 if_nameindex(GLIBC_2.2) [SUSv3] if_nametoindex(GLIBC_2.2) 1844 [SUSv3] listen(GLIBC_2.2) [SUSv3] recv(GLIBC_2.2) [SUSv3] 1845 recvfrom(GLIBC_2.2) [SUSv3] recvmsg(GLIBC_2.2) [SUSv3] 1846 send(GLIBC_2.2) [SUSv3] sendmsg(GLIBC_2.2) [SUSv3] 1847 sendto(GLIBC_2.2) [SUSv3] setsockopt(GLIBC_2.2) [LSB] 1848 shutdown(GLIBC_2.2) [SUSv3] sockatmark(GLIBC_2.2.4) [SUSv3] 1849 socket(GLIBC_2.2) [SUSv3] socketpair(GLIBC_2.2) [SUSv3] 1850 1851 An LSB conforming implementation shall provide the architecture 1852 specific data interfaces for Socket Interface specified in 1853 Table 11-15, with the full mandatory functionality as described 1854 in the referenced underlying specification. 1855 1856 Table 11-15. libc - Socket Interface Data Interfaces 1857 in6addr_any(GLIBC_2.2) [SUSv3] in6addr_loopback(GLIBC_2.2) 1858 [SUSv3] 1859 __________________________________________________________ 1860 1861 11.2.9. Wide Characters 1862 __________________________________________________________ 1863 1864 11.2.9.1. Interfaces for Wide Characters 1865 1866 An LSB conforming implementation shall provide the architecture 1867 specific functions for Wide Characters specified in Table 1868 11-16, with the full mandatory functionality as described in 1869 the referenced underlying specification. 1870 1871 Table 11-16. libc - Wide Characters Function Interfaces 1872 __wcstod_internal(GLIBC_2.2) [LSB] __wcstof_internal(GLIBC_2.2) 1873 [LSB] __wcstol_internal(GLIBC_2.2) [LSB] 1874 __wcstold_internal(GLIBC_2.2) [LSB] 1875 __wcstoul_internal(GLIBC_2.2) [LSB] btowc(GLIBC_2.2) [SUSv3] 1876 fgetwc(GLIBC_2.2) [SUSv3] fgetws(GLIBC_2.2) [SUSv3] 1877 fputwc(GLIBC_2.2) [SUSv3] fputws(GLIBC_2.2) [SUSv3] 1878 fwide(GLIBC_2.2) [SUSv3] fwprintf(GLIBC_2.2) [SUSv3] 1879 fwscanf(GLIBC_2.2) [LSB] getwc(GLIBC_2.2) [SUSv3] 1880 getwchar(GLIBC_2.2) [SUSv3] mblen(GLIBC_2.2) [SUSv3] 1881 mbrlen(GLIBC_2.2) [SUSv3] mbrtowc(GLIBC_2.2) [SUSv3] 1882 mbsinit(GLIBC_2.2) [SUSv3] mbsnrtowcs(GLIBC_2.2) [LSB] 1883 mbsrtowcs(GLIBC_2.2) [SUSv3] mbstowcs(GLIBC_2.2) [SUSv3] 1884 mbtowc(GLIBC_2.2) [SUSv3] putwc(GLIBC_2.2) [SUSv3] 1885 putwchar(GLIBC_2.2) [SUSv3] swprintf(GLIBC_2.2) [SUSv3] 1886 swscanf(GLIBC_2.2) [LSB] towctrans(GLIBC_2.2) [SUSv3] 1887 towlower(GLIBC_2.2) [SUSv3] towupper(GLIBC_2.2) [SUSv3] 1888 ungetwc(GLIBC_2.2) [SUSv3] vfwprintf(GLIBC_2.2) [SUSv3] 1889 vfwscanf(GLIBC_2.2) [LSB] vswprintf(GLIBC_2.2) [SUSv3] 1890 vswscanf(GLIBC_2.2) [LSB] vwprintf(GLIBC_2.2) [SUSv3] 1891 vwscanf(GLIBC_2.2) [LSB] wcpcpy(GLIBC_2.2) [LSB] 1892 wcpncpy(GLIBC_2.2) [LSB] wcrtomb(GLIBC_2.2) [SUSv3] 1893 wcscasecmp(GLIBC_2.2) [LSB] wcscat(GLIBC_2.2) [SUSv3] 1894 wcschr(GLIBC_2.2) [SUSv3] wcscmp(GLIBC_2.2) [SUSv3] 1895 wcscoll(GLIBC_2.2) [SUSv3] wcscpy(GLIBC_2.2) [SUSv3] 1896 wcscspn(GLIBC_2.2) [SUSv3] wcsdup(GLIBC_2.2) [LSB] 1897 wcsftime(GLIBC_2.2) [SUSv3] wcslen(GLIBC_2.2) [SUSv3] 1898 wcsncasecmp(GLIBC_2.2) [LSB] wcsncat(GLIBC_2.2) [SUSv3] 1899 wcsncmp(GLIBC_2.2) [SUSv3] wcsncpy(GLIBC_2.2) [SUSv3] 1900 wcsnlen(GLIBC_2.2) [LSB] wcsnrtombs(GLIBC_2.2) [LSB] 1901 wcspbrk(GLIBC_2.2) [SUSv3] wcsrchr(GLIBC_2.2) [SUSv3] 1902 wcsrtombs(GLIBC_2.2) [SUSv3] wcsspn(GLIBC_2.2) [SUSv3] 1903 wcsstr(GLIBC_2.2) [SUSv3] wcstod(GLIBC_2.2) [SUSv3] 1904 wcstof(GLIBC_2.2) [SUSv3] wcstoimax(GLIBC_2.2) [SUSv3] 1905 wcstok(GLIBC_2.2) [SUSv3] wcstol(GLIBC_2.2) [SUSv3] 1906 wcstold(GLIBC_2.2) [SUSv3] wcstoll(GLIBC_2.2) [SUSv3] 1907 wcstombs(GLIBC_2.2) [SUSv3] wcstoq(GLIBC_2.2) [LSB] 1908 wcstoul(GLIBC_2.2) [SUSv3] wcstoull(GLIBC_2.2) [SUSv3] 1909 wcstoumax(GLIBC_2.2) [SUSv3] wcstouq(GLIBC_2.2) [LSB] 1910 wcswcs(GLIBC_2.2) [SUSv3] wcswidth(GLIBC_2.2) [SUSv3] 1911 wcsxfrm(GLIBC_2.2) [SUSv3] wctob(GLIBC_2.2) [SUSv3] 1912 wctomb(GLIBC_2.2) [SUSv3] wctrans(GLIBC_2.2) [SUSv3] 1913 wctype(GLIBC_2.2) [SUSv3] wcwidth(GLIBC_2.2) [SUSv3] 1914 wmemchr(GLIBC_2.2) [SUSv3] wmemcmp(GLIBC_2.2) [SUSv3] 1915 wmemcpy(GLIBC_2.2) [SUSv3] wmemmove(GLIBC_2.2) [SUSv3] 1916 wmemset(GLIBC_2.2) [SUSv3] wprintf(GLIBC_2.2) [SUSv3] 1917 wscanf(GLIBC_2.2) [LSB] 1918 __________________________________________________________ 1919 1920 11.2.10. String Functions 1921 __________________________________________________________ 1922 1923 11.2.10.1. Interfaces for String Functions 1924 1925 An LSB conforming implementation shall provide the architecture 1926 specific functions for String Functions specified in Table 1927 11-17, with the full mandatory functionality as described in 1928 the referenced underlying specification. 1929 1930 Table 11-17. libc - String Functions Function Interfaces 1931 __mempcpy(GLIBC_2.2) [LSB] __rawmemchr(GLIBC_2.2) [LSB] 1932 __stpcpy(GLIBC_2.2) [LSB] __strdup(GLIBC_2.2) [LSB] 1933 __strtod_internal(GLIBC_2.2) [LSB] __strtof_internal(GLIBC_2.2) 1934 [LSB] __strtok_r(GLIBC_2.2) [LSB] __strtol_internal(GLIBC_2.2) 1935 [LSB] 1936 __strtold_internal(GLIBC_2.2) [LSB] 1937 __strtoll_internal(GLIBC_2.2) [LSB] 1938 __strtoul_internal(GLIBC_2.2) [LSB] 1939 __strtoull_internal(GLIBC_2.2) [LSB] 1940 __xpg_strerror_r(GLIBC_2.3.4) [LSB] bcmp(GLIBC_2.2) [SUSv3] 1941 bcopy(GLIBC_2.2) [SUSv3] bzero(GLIBC_2.2) [SUSv3] 1942 ffs(GLIBC_2.2) [SUSv3] index(GLIBC_2.2) [SUSv3] 1943 memccpy(GLIBC_2.2) [SUSv3] memchr(GLIBC_2.2) [SUSv3] 1944 memcmp(GLIBC_2.2) [SUSv3] memcpy(GLIBC_2.2) [SUSv3] 1945 memmove(GLIBC_2.2) [SUSv3] memrchr(GLIBC_2.2) [LSB] 1946 memset(GLIBC_2.2) [SUSv3] rindex(GLIBC_2.2) [SUSv3] 1947 stpcpy(GLIBC_2.2) [LSB] stpncpy(GLIBC_2.2) [LSB] 1948 strcasecmp(GLIBC_2.2) [SUSv3] strcasestr(GLIBC_2.2) [LSB] 1949 strcat(GLIBC_2.2) [SUSv3] strchr(GLIBC_2.2) [SUSv3] 1950 strcmp(GLIBC_2.2) [SUSv3] strcoll(GLIBC_2.2) [SUSv3] 1951 strcpy(GLIBC_2.2) [SUSv3] strcspn(GLIBC_2.2) [SUSv3] 1952 strdup(GLIBC_2.2) [SUSv3] strerror(GLIBC_2.2) [SUSv3] 1953 strerror_r(GLIBC_2.2) [LSB] strfmon(GLIBC_2.2) [SUSv3] 1954 strftime(GLIBC_2.2) [SUSv3] strlen(GLIBC_2.2) [SUSv3] 1955 strncasecmp(GLIBC_2.2) [SUSv3] strncat(GLIBC_2.2) [SUSv3] 1956 strncmp(GLIBC_2.2) [SUSv3] strncpy(GLIBC_2.2) [SUSv3] 1957 strndup(GLIBC_2.2) [LSB] strnlen(GLIBC_2.2) [LSB] 1958 strpbrk(GLIBC_2.2) [SUSv3] strptime(GLIBC_2.2) [LSB] 1959 strrchr(GLIBC_2.2) [SUSv3] strsep(GLIBC_2.2) [LSB] 1960 strsignal(GLIBC_2.2) [LSB] strspn(GLIBC_2.2) [SUSv3] 1961 strstr(GLIBC_2.2) [SUSv3] strtof(GLIBC_2.2) [SUSv3] 1962 strtoimax(GLIBC_2.2) [SUSv3] strtok(GLIBC_2.2) [SUSv3] 1963 strtok_r(GLIBC_2.2) [SUSv3] strtold(GLIBC_2.2) [SUSv3] 1964 strtoll(GLIBC_2.2) [SUSv3] strtoq(GLIBC_2.2) [LSB] 1965 strtoull(GLIBC_2.2) [SUSv3] strtoumax(GLIBC_2.2) [SUSv3] 1966 strtouq(GLIBC_2.2) [LSB] strxfrm(GLIBC_2.2) [SUSv3] 1967 swab(GLIBC_2.2) [SUSv3] 1968 1969 An LSB conforming implementation shall provide the architecture 1970 specific deprecated functions for String Functions specified in 1971 Table 11-18, with the full mandatory functionality as described 1972 in the referenced underlying specification. 1973 1974 Note: These interfaces are deprecated, and applications 1975 should avoid using them. These interfaces may be withdrawn 1976 in future releases of this specification. 1977 1978 Table 11-18. libc - String Functions Deprecated Function 1979 Interfaces 1980 strerror_r(GLIBC_2.2) [LSB] 1981 __________________________________________________________ 1982 1983 11.2.11. IPC Functions 1984 __________________________________________________________ 1985 1986 11.2.11.1. Interfaces for IPC Functions 1987 1988 An LSB conforming implementation shall provide the architecture 1989 specific functions for IPC Functions specified in Table 11-19, 1990 with the full mandatory functionality as described in the 1991 referenced underlying specification. 1992 1993 Table 11-19. libc - IPC Functions Function Interfaces 1994 ftok(GLIBC_2.2) [SUSv3] msgctl(GLIBC_2.2) [SUSv3] 1995 msgget(GLIBC_2.2) [SUSv3] msgrcv(GLIBC_2.2) [SUSv3] 1996 msgsnd(GLIBC_2.2) [SUSv3] semctl(GLIBC_2.2) [SUSv3] 1997 semget(GLIBC_2.2) [SUSv3] semop(GLIBC_2.2) [SUSv3] 1998 shmat(GLIBC_2.2) [SUSv3] shmctl(GLIBC_2.2) [SUSv3] 1999 shmdt(GLIBC_2.2) [SUSv3] shmget(GLIBC_2.2) [SUSv3] 2000 __________________________________________________________ 2001 2002 11.2.12. Regular Expressions 2003 __________________________________________________________ 2004 2005 11.2.12.1. Interfaces for Regular Expressions 2006 2007 An LSB conforming implementation shall provide the architecture 2008 specific functions for Regular Expressions specified in Table 2009 11-20, with the full mandatory functionality as described in 2010 the referenced underlying specification. 2011 2012 Table 11-20. libc - Regular Expressions Function Interfaces 2013 regcomp(GLIBC_2.2) [SUSv3] regerror(GLIBC_2.2) [SUSv3] 2014 regexec(GLIBC_2.3.4) [LSB] regfree(GLIBC_2.2) [SUSv3] 2015 __________________________________________________________ 2016 2017 11.2.13. Character Type Functions 2018 __________________________________________________________ 2019 2020 11.2.13.1. Interfaces for Character Type Functions 2021 2022 An LSB conforming implementation shall provide the architecture 2023 specific functions for Character Type Functions specified in 2024 Table 11-21, with the full mandatory functionality as described 2025 in the referenced underlying specification. 2026 2027 Table 11-21. libc - Character Type Functions Function 2028 Interfaces 2029 __ctype_get_mb_cur_max(GLIBC_2.2) [LSB] _tolower(GLIBC_2.2) 2030 [SUSv3] _toupper(GLIBC_2.2) [SUSv3] isalnum(GLIBC_2.2) [SUSv3] 2031 isalpha(GLIBC_2.2) [SUSv3] isascii(GLIBC_2.2) [SUSv3] 2032 iscntrl(GLIBC_2.2) [SUSv3] isdigit(GLIBC_2.2) [SUSv3] 2033 isgraph(GLIBC_2.2) [SUSv3] islower(GLIBC_2.2) [SUSv3] 2034 isprint(GLIBC_2.2) [SUSv3] ispunct(GLIBC_2.2) [SUSv3] 2035 isspace(GLIBC_2.2) [SUSv3] isupper(GLIBC_2.2) [SUSv3] 2036 iswalnum(GLIBC_2.2) [SUSv3] iswalpha(GLIBC_2.2) [SUSv3] 2037 iswblank(GLIBC_2.2) [SUSv3] iswcntrl(GLIBC_2.2) [SUSv3] 2038 iswctype(GLIBC_2.2) [SUSv3] iswdigit(GLIBC_2.2) [SUSv3] 2039 iswgraph(GLIBC_2.2) [SUSv3] iswlower(GLIBC_2.2) [SUSv3] 2040 iswprint(GLIBC_2.2) [SUSv3] iswpunct(GLIBC_2.2) [SUSv3] 2041 iswspace(GLIBC_2.2) [SUSv3] iswupper(GLIBC_2.2) [SUSv3] 2042 iswxdigit(GLIBC_2.2) [SUSv3] isxdigit(GLIBC_2.2) [SUSv3] 2043 toascii(GLIBC_2.2) [SUSv3] tolower(GLIBC_2.2) [SUSv3] 2044 toupper(GLIBC_2.2) [SUSv3] 2045 __________________________________________________________ 2046 2047 11.2.14. Time Manipulation 2048 __________________________________________________________ 2049 2050 11.2.14.1. Interfaces for Time Manipulation 2051 2052 An LSB conforming implementation shall provide the architecture 2053 specific functions for Time Manipulation specified in Table 2054 11-22, with the full mandatory functionality as described in 2055 the referenced underlying specification. 2056 2057 Table 11-22. libc - Time Manipulation Function Interfaces 2058 adjtime(GLIBC_2.2) [LSB] asctime(GLIBC_2.2) [SUSv3] 2059 asctime_r(GLIBC_2.2) [SUSv3] ctime(GLIBC_2.2) [SUSv3] 2060 ctime_r(GLIBC_2.2) [SUSv3] difftime(GLIBC_2.2) [SUSv3] 2061 gmtime(GLIBC_2.2) [SUSv3] gmtime_r(GLIBC_2.2) [SUSv3] 2062 localtime(GLIBC_2.2) [SUSv3] localtime_r(GLIBC_2.2) [SUSv3] 2063 mktime(GLIBC_2.2) [SUSv3] tzset(GLIBC_2.2) [SUSv3] 2064 ualarm(GLIBC_2.2) [SUSv3] 2065 2066 An LSB conforming implementation shall provide the architecture 2067 specific data interfaces for Time Manipulation specified in 2068 Table 11-23, with the full mandatory functionality as described 2069 in the referenced underlying specification. 2070 2071 Table 11-23. libc - Time Manipulation Data Interfaces 2072 __daylight(GLIBC_2.2) [LSB] __timezone(GLIBC_2.2) [LSB] 2073 __tzname(GLIBC_2.2) [LSB] daylight(GLIBC_2.2) [SUSv3] 2074 timezone(GLIBC_2.2) [SUSv3] tzname(GLIBC_2.2) [SUSv3] 2075 __________________________________________________________ 2076 2077 11.2.15. Terminal Interface Functions 2078 __________________________________________________________ 2079 2080 11.2.15.1. Interfaces for Terminal Interface Functions 2081 2082 An LSB conforming implementation shall provide the architecture 2083 specific functions for Terminal Interface Functions specified 2084 in Table 11-24, with the full mandatory functionality as 2085 described in the referenced underlying specification. 2086 2087 Table 11-24. libc - Terminal Interface Functions Function 2088 Interfaces 2089 cfgetispeed(GLIBC_2.2) [SUSv3] cfgetospeed(GLIBC_2.2) [SUSv3] 2090 cfmakeraw(GLIBC_2.2) [LSB] cfsetispeed(GLIBC_2.2) [SUSv3] 2091 cfsetospeed(GLIBC_2.2) [SUSv3] cfsetspeed(GLIBC_2.2) [LSB] 2092 tcdrain(GLIBC_2.2) [SUSv3] tcflow(GLIBC_2.2) [SUSv3] 2093 tcflush(GLIBC_2.2) [SUSv3] tcgetattr(GLIBC_2.2) [SUSv3] 2094 tcgetpgrp(GLIBC_2.2) [SUSv3] tcgetsid(GLIBC_2.2) [SUSv3] 2095 tcsendbreak(GLIBC_2.2) [SUSv3] tcsetattr(GLIBC_2.2) [SUSv3] 2096 tcsetpgrp(GLIBC_2.2) [SUSv3] 2097 __________________________________________________________ 2098 2099 11.2.16. System Database Interface 2100 __________________________________________________________ 2101 2102 11.2.16.1. Interfaces for System Database Interface 2103 2104 An LSB conforming implementation shall provide the architecture 2105 specific functions for System Database Interface specified in 2106 Table 11-25, with the full mandatory functionality as described 2107 in the referenced underlying specification. 2108 2109 Table 11-25. libc - System Database Interface Function 2110 Interfaces 2111 endgrent(GLIBC_2.2) [SUSv3] endprotoent(GLIBC_2.2) [SUSv3] 2112 endpwent(GLIBC_2.2) [SUSv3] endservent(GLIBC_2.2) [SUSv3] 2113 endutent(GLIBC_2.2) [LSB] endutxent(GLIBC_2.2) [SUSv3] 2114 getgrent(GLIBC_2.2) [SUSv3] getgrgid(GLIBC_2.2) [SUSv3] 2115 getgrgid_r(GLIBC_2.2) [SUSv3] getgrnam(GLIBC_2.2) [SUSv3] 2116 getgrnam_r(GLIBC_2.2) [SUSv3] getgrouplist(GLIBC_2.2.4) [LSB] 2117 gethostbyaddr(GLIBC_2.2) [SUSv3] gethostbyaddr_r(GLIBC_2.2) 2118 [LSB] gethostbyname(GLIBC_2.2) [SUSv3] 2119 gethostbyname2(GLIBC_2.2) [LSB] 2120 gethostbyname2_r(GLIBC_2.2) [LSB] gethostbyname_r(GLIBC_2.2) 2121 [LSB] getprotobyname(GLIBC_2.2) [SUSv3] 2122 getprotobynumber(GLIBC_2.2) [SUSv3] 2123 getprotoent(GLIBC_2.2) [SUSv3] getpwent(GLIBC_2.2) [SUSv3] 2124 getpwnam(GLIBC_2.2) [SUSv3] getpwnam_r(GLIBC_2.2) [SUSv3] 2125 getpwuid(GLIBC_2.2) [SUSv3] getpwuid_r(GLIBC_2.2) [SUSv3] 2126 getservbyname(GLIBC_2.2) [SUSv3] getservbyport(GLIBC_2.2) 2127 [SUSv3] 2128 getservent(GLIBC_2.2) [SUSv3] getutent(GLIBC_2.2) [LSB] 2129 getutent_r(GLIBC_2.2) [LSB] getutxent(GLIBC_2.2) [SUSv3] 2130 getutxid(GLIBC_2.2) [SUSv3] getutxline(GLIBC_2.2) [SUSv3] 2131 pututxline(GLIBC_2.2) [SUSv3] setgrent(GLIBC_2.2) [SUSv3] 2132 setgroups(GLIBC_2.2) [LSB] setprotoent(GLIBC_2.2) [SUSv3] 2133 setpwent(GLIBC_2.2) [SUSv3] setservent(GLIBC_2.2) [SUSv3] 2134 setutent(GLIBC_2.2) [LSB] setutxent(GLIBC_2.2) [SUSv3] 2135 utmpname(GLIBC_2.2) [LSB] 2136 2137 An LSB conforming implementation shall provide the architecture 2138 specific deprecated functions for System Database Interface 2139 specified in Table 11-26, with the full mandatory functionality 2140 as described in the referenced underlying specification. 2141 2142 Note: These interfaces are deprecated, and applications 2143 should avoid using them. These interfaces may be withdrawn 2144 in future releases of this specification. 2145 2146 Table 11-26. libc - System Database Interface Deprecated 2147 Function Interfaces 2148 gethostbyaddr(GLIBC_2.2) [SUSv3] gethostbyaddr_r(GLIBC_2.2) 2149 [LSB] gethostbyname(GLIBC_2.2) [SUSv3] 2150 gethostbyname2(GLIBC_2.2) [LSB] 2151 gethostbyname2_r(GLIBC_2.2) [LSB] gethostbyname_r(GLIBC_2.2) 2152 [LSB] 2153 __________________________________________________________ 2154 2155 11.2.17. Language Support 2156 __________________________________________________________ 2157 2158 11.2.17.1. Interfaces for Language Support 2159 2160 An LSB conforming implementation shall provide the architecture 2161 specific functions for Language Support specified in Table 2162 11-27, with the full mandatory functionality as described in 2163 the referenced underlying specification. 2164 2165 Table 11-27. libc - Language Support Function Interfaces 2166 __libc_start_main(GLIBC_2.2) [LSB] 2167 __________________________________________________________ 2168 2169 11.2.18. Large File Support 2170 __________________________________________________________ 2171 2172 11.2.18.1. Interfaces for Large File Support 2173 2174 An LSB conforming implementation shall provide the architecture 2175 specific functions for Large File Support specified in Table 2176 11-28, with the full mandatory functionality as described in 2177 the referenced underlying specification. 2178 2179 Table 11-28. libc - Large File Support Function Interfaces 2180 __fxstat64(GLIBC_2.2) [LSB] __lxstat64(GLIBC_2.2) [LSB] 2181 __xstat64(GLIBC_2.2) [LSB] creat64(GLIBC_2.2) [LFS] 2182 fgetpos64(GLIBC_2.2) [LFS] fopen64(GLIBC_2.2) [LFS] 2183 freopen64(GLIBC_2.2) [LFS] fseeko64(GLIBC_2.2) [LFS] 2184 fsetpos64(GLIBC_2.2) [LFS] fstatfs64(GLIBC_2.2) [LSB] 2185 fstatvfs64(GLIBC_2.2) [LFS] ftello64(GLIBC_2.2) [LFS] 2186 ftruncate64(GLIBC_2.2) [LFS] ftw64(GLIBC_2.2) [LFS] 2187 getrlimit64(GLIBC_2.2) [LFS] lockf64(GLIBC_2.2) [LFS] 2188 mkstemp64(GLIBC_2.2) [LFS] mmap64(GLIBC_2.2) [LFS] 2189 nftw64(GLIBC_2.3.3) [LFS] posix_fadvise64(GLIBC_2.2) [LSB] 2190 posix_fallocate64(GLIBC_2.2) [LSB] readdir64(GLIBC_2.2) [LFS] 2191 readdir64_r(GLIBC_2.2) [LSB] statfs64(GLIBC_2.2) [LSB] 2192 statvfs64(GLIBC_2.2) [LFS] tmpfile64(GLIBC_2.2) [LFS] 2193 truncate64(GLIBC_2.2) [LFS] 2194 2195 An LSB conforming implementation shall provide the architecture 2196 specific deprecated functions for Large File Support specified 2197 in Table 11-29, with the full mandatory functionality as 2198 described in the referenced underlying specification. 2199 2200 Note: These interfaces are deprecated, and applications 2201 should avoid using them. These interfaces may be withdrawn 2202 in future releases of this specification. 2203 2204 Table 11-29. libc - Large File Support Deprecated Function 2205 Interfaces 2206 fstatfs64(GLIBC_2.2) [LSB] statfs64(GLIBC_2.2) [LSB] 2207 __________________________________________________________ 2208 2209 11.2.19. Standard Library 2210 __________________________________________________________ 2211 2212 11.2.19.1. Interfaces for Standard Library 2213 2214 An LSB conforming implementation shall provide the architecture 2215 specific functions for Standard Library specified in Table 2216 11-30, with the full mandatory functionality as described in 2217 the referenced underlying specification. 2218 2219 Table 11-30. libc - Standard Library Function Interfaces 2220 _Exit(GLIBC_2.2) [SUSv3] __assert_fail(GLIBC_2.2) [LSB] 2221 __cxa_atexit(GLIBC_2.2) [LSB] __cxa_finalize(GLIBC_2.2) [LSB] 2222 __errno_location(GLIBC_2.2) [LSB] __fpending(GLIBC_2.2) [LSB] 2223 __getpagesize(GLIBC_2.2) [LSB] __isinf(GLIBC_2.2) [LSB] 2224 __isinff(GLIBC_2.2) [LSB] __isinfl(GLIBC_2.2) [LSB] 2225 __isnan(GLIBC_2.2) [LSB] __isnanf(GLIBC_2.2) [LSB] 2226 __isnanl(GLIBC_2.2) [LSB] __sysconf(GLIBC_2.2) [LSB] 2227 __xpg_basename(GLIBC_2.2) [LSB] _exit(GLIBC_2.2) [SUSv3] 2228 _longjmp(GLIBC_2.2) [SUSv3] _setjmp(GLIBC_2.2) [SUSv3] 2229 a64l(GLIBC_2.2) [SUSv3] abort(GLIBC_2.2) [SUSv3] 2230 abs(GLIBC_2.2) [SUSv3] atof(GLIBC_2.2) [SUSv3] atoi(GLIBC_2.2) 2231 [SUSv3] atol(GLIBC_2.2) [SUSv3] 2232 atoll(GLIBC_2.2) [SUSv3] basename(GLIBC_2.2) [LSB] 2233 bsearch(GLIBC_2.2) [SUSv3] calloc(GLIBC_2.2) [SUSv3] 2234 closelog(GLIBC_2.2) [SUSv3] confstr(GLIBC_2.2) [SUSv3] 2235 cuserid(GLIBC_2.2) [SUSv2] daemon(GLIBC_2.2) [LSB] 2236 dirname(GLIBC_2.2) [SUSv3] div(GLIBC_2.2) [SUSv3] 2237 drand48(GLIBC_2.2) [SUSv3] ecvt(GLIBC_2.2) [SUSv3] 2238 erand48(GLIBC_2.2) [SUSv3] err(GLIBC_2.2) [LSB] 2239 error(GLIBC_2.2) [LSB] errx(GLIBC_2.2) [LSB] 2240 fcvt(GLIBC_2.2) [SUSv3] fmtmsg(GLIBC_2.2) [SUSv3] 2241 fnmatch(GLIBC_2.2.3) [SUSv3] fpathconf(GLIBC_2.2) [SUSv3] 2242 free(GLIBC_2.2) [SUSv3] freeaddrinfo(GLIBC_2.2) [SUSv3] 2243 ftrylockfile(GLIBC_2.2) [SUSv3] ftw(GLIBC_2.2) [SUSv3] 2244 funlockfile(GLIBC_2.2) [SUSv3] gai_strerror(GLIBC_2.2) [SUSv3] 2245 gcvt(GLIBC_2.2) [SUSv3] getaddrinfo(GLIBC_2.2) [SUSv3] 2246 getcwd(GLIBC_2.2) [SUSv3] getdate(GLIBC_2.2) [SUSv3] 2247 getdomainname(GLIBC_2.2) [LSB] getenv(GLIBC_2.2) [SUSv3] 2248 getlogin(GLIBC_2.2) [SUSv3] getlogin_r(GLIBC_2.2) [SUSv3] 2249 getnameinfo(GLIBC_2.2) [SUSv3] getopt(GLIBC_2.2) [LSB] 2250 getopt_long(GLIBC_2.2) [LSB] getopt_long_only(GLIBC_2.2) [LSB] 2251 getsubopt(GLIBC_2.2) [SUSv3] gettimeofday(GLIBC_2.2) [SUSv3] 2252 glob(GLIBC_2.2) [SUSv3] glob64(GLIBC_2.2) [LSB] 2253 globfree(GLIBC_2.2) [SUSv3] globfree64(GLIBC_2.2) [LSB] 2254 grantpt(GLIBC_2.2) [SUSv3] hcreate(GLIBC_2.2) [SUSv3] 2255 hdestroy(GLIBC_2.2) [SUSv3] hsearch(GLIBC_2.2) [SUSv3] 2256 htonl(GLIBC_2.2) [SUSv3] htons(GLIBC_2.2) [SUSv3] 2257 imaxabs(GLIBC_2.2) [SUSv3] imaxdiv(GLIBC_2.2) [SUSv3] 2258 inet_addr(GLIBC_2.2) [SUSv3] inet_aton(GLIBC_2.2) [LSB] 2259 inet_ntoa(GLIBC_2.2) [SUSv3] inet_ntop(GLIBC_2.2) [SUSv3] 2260 inet_pton(GLIBC_2.2) [SUSv3] initstate(GLIBC_2.2) [SUSv3] 2261 insque(GLIBC_2.2) [SUSv3] isatty(GLIBC_2.2) [SUSv3] 2262 isblank(GLIBC_2.2) [SUSv3] jrand48(GLIBC_2.2) [SUSv3] 2263 l64a(GLIBC_2.2) [SUSv3] labs(GLIBC_2.2) [SUSv3] 2264 lcong48(GLIBC_2.2) [SUSv3] ldiv(GLIBC_2.2) [SUSv3] 2265 lfind(GLIBC_2.2) [SUSv3] llabs(GLIBC_2.2) [SUSv3] 2266 lldiv(GLIBC_2.2) [SUSv3] longjmp(GLIBC_2.2) [SUSv3] 2267 lrand48(GLIBC_2.2) [SUSv3] lsearch(GLIBC_2.2) [SUSv3] 2268 makecontext(GLIBC_2.2) [SUSv3] malloc(GLIBC_2.2) [SUSv3] 2269 memmem(GLIBC_2.2) [LSB] mkstemp(GLIBC_2.2) [SUSv3] 2270 mktemp(GLIBC_2.2) [SUSv3] mrand48(GLIBC_2.2) [SUSv3] 2271 nftw(GLIBC_2.3.3) [SUSv3] nrand48(GLIBC_2.2) [SUSv3] 2272 ntohl(GLIBC_2.2) [SUSv3] ntohs(GLIBC_2.2) [SUSv3] 2273 openlog(GLIBC_2.2) [SUSv3] perror(GLIBC_2.2) [SUSv3] 2274 posix_openpt(GLIBC_2.2.1) [SUSv3] ptsname(GLIBC_2.2) [SUSv3] 2275 putenv(GLIBC_2.2) [SUSv3] qsort(GLIBC_2.2) [SUSv3] 2276 rand(GLIBC_2.2) [SUSv3] rand_r(GLIBC_2.2) [SUSv3] 2277 random(GLIBC_2.2) [SUSv3] realloc(GLIBC_2.2) [SUSv3] 2278 realpath(GLIBC_2.3) [SUSv3] remque(GLIBC_2.2) [SUSv3] 2279 seed48(GLIBC_2.2) [SUSv3] setenv(GLIBC_2.2) [SUSv3] 2280 sethostname(GLIBC_2.2) [LSB] setlogmask(GLIBC_2.2) [SUSv3] 2281 setstate(GLIBC_2.2) [SUSv3] srand(GLIBC_2.2) [SUSv3] 2282 srand48(GLIBC_2.2) [SUSv3] srandom(GLIBC_2.2) [SUSv3] 2283 strtod(GLIBC_2.2) [SUSv3] strtol(GLIBC_2.2) [SUSv3] 2284 strtoul(GLIBC_2.2) [SUSv3] swapcontext(GLIBC_2.2) [SUSv3] 2285 syslog(GLIBC_2.2) [SUSv3] system(GLIBC_2.2) [LSB] 2286 tdelete(GLIBC_2.2) [SUSv3] tfind(GLIBC_2.2) [SUSv3] 2287 tmpfile(GLIBC_2.2) [SUSv3] tmpnam(GLIBC_2.2) [SUSv3] 2288 tsearch(GLIBC_2.2) [SUSv3] ttyname(GLIBC_2.2) [SUSv3] 2289 ttyname_r(GLIBC_2.2) [SUSv3] twalk(GLIBC_2.2) [SUSv3] 2290 unlockpt(GLIBC_2.2) [SUSv3] unsetenv(GLIBC_2.2) [SUSv3] 2291 usleep(GLIBC_2.2) [SUSv3] verrx(GLIBC_2.2) [LSB] 2292 vfscanf(GLIBC_2.2) [LSB] vscanf(GLIBC_2.2) [LSB] 2293 vsscanf(GLIBC_2.2) [LSB] vsyslog(GLIBC_2.2) [LSB] 2294 warn(GLIBC_2.2) [LSB] warnx(GLIBC_2.2) [LSB] wordexp(GLIBC_2.2) 2295 [SUSv3] wordfree(GLIBC_2.2) [SUSv3] 2296 2297 An LSB conforming implementation shall provide the architecture 2298 specific deprecated functions for Standard Library specified in 2299 Table 11-31, with the full mandatory functionality as described 2300 in the referenced underlying specification. 2301 2302 Note: These interfaces are deprecated, and applications 2303 should avoid using them. These interfaces may be withdrawn 2304 in future releases of this specification. 2305 2306 Table 11-31. libc - Standard Library Deprecated Function 2307 Interfaces 2308 basename(GLIBC_2.2) [LSB] getdomainname(GLIBC_2.2) [LSB] 2309 inet_aton(GLIBC_2.2) [LSB] 2310 2311 An LSB conforming implementation shall provide the architecture 2312 specific data interfaces for Standard Library specified in 2313 Table 11-32, with the full mandatory functionality as described 2314 in the referenced underlying specification. 2315 2316 Table 11-32. libc - Standard Library Data Interfaces 2317 __environ(GLIBC_2.2) [LSB] _environ(GLIBC_2.2) [LSB] 2318 _sys_errlist(GLIBC_2.3) [LSB] environ(GLIBC_2.2) [SUSv3] 2319 getdate_err(GLIBC_2.2) [SUSv3] optarg(GLIBC_2.2) [SUSv3] 2320 opterr(GLIBC_2.2) [SUSv3] optind(GLIBC_2.2) [SUSv3] 2321 optopt(GLIBC_2.2) [SUSv3] 2322 __________________________________________________________ 2323 2324 11.3. Data Definitions for libc 2325 2326 This section defines global identifiers and their values that 2327 are associated with interfaces contained in libc. These 2328 definitions are organized into groups that correspond to system 2329 headers. This convention is used as a convenience for the 2330 reader, and does not imply the existence of these headers, or 2331 their content. Where an interface is defined as requiring a 2332 particular system header file all of the data definitions for 2333 that system header file presented here shall be in effect. 2334 2335 This section gives data definitions to promote binary 2336 application portability, not to repeat source interface 2337 definitions available elsewhere. System providers and 2338 application developers should use this ABI to supplement - not 2339 to replace - source interface definition specifications. 2340 2341 This specification uses the ISO C (1999) C Language as the 2342 reference programming language, and data definitions are 2343 specified in ISO C format. The C language is used here as a 2344 convenient notation. Using a C language description of these 2345 data objects does not preclude their use by other programming 2346 languages. 2347 __________________________________________________________ 2348 2349 11.3.1. ctype.h 2350 2351 enum { 2352 _ISupper = 1, 2353 _ISlower = 2, 2354 _ISalpha = 4, 2355 _ISdigit = 8, 2356 _ISxdigit = 16, 2357 _ISspace = 32, 2358 _ISprint = 64, 2359 _ISgraph = 128, 2360 _ISblank = 256, 2361 _IScntrl = 512, 2362 _ISpunct = 1024, 2363 _ISalnum = 2048 2364 }; 2365 __________________________________________________________ 2366 2367 11.3.2. dirent.h 2368 2369 /* 2370 * This header is architecture neutral 2371 * Please refer to the generic specification for details 2372 */ 2373 __________________________________________________________ 2374 2375 11.3.3. errno.h 2376 2377 #define EDEADLOCK 35 2378 __________________________________________________________ 2379 2380 11.3.4. fcntl.h 2381 2382 #define O_LARGEFILE 0 2383 2384 #define F_GETLK64 5 2385 #define F_SETLK64 6 2386 #define F_SETLKW64 7 2387 __________________________________________________________ 2388 2389 11.3.5. fnmatch.h 2390 2391 /* 2392 * This header is architecture neutral 2393 * Please refer to the generic specification for details 2394 */ 2395 __________________________________________________________ 2396 2397 11.3.6. ftw.h 2398 2399 /* 2400 * This header is architecture neutral 2401 * Please refer to the generic specification for details 2402 */ 2403 __________________________________________________________ 2404 2405 11.3.7. getopt.h 2406 2407 /* 2408 * This header is architecture neutral 2409 * Please refer to the generic specification for details 2410 */ 2411 __________________________________________________________ 2412 2413 11.3.8. glob.h 2414 2415 /* 2416 * This header is architecture neutral 2417 * Please refer to the generic specification for details 2418 */ 2419 __________________________________________________________ 2420 2421 11.3.9. iconv.h 2422 2423 /* 2424 * This header is architecture neutral 2425 * Please refer to the generic specification for details 2426 */ 2427 __________________________________________________________ 2428 2429 11.3.10. langinfo.h 2430 2431 /* 2432 * This header is architecture neutral 2433 * Please refer to the generic specification for details 2434 */ 2435 __________________________________________________________ 2436 2437 11.3.11. limits.h 2438 2439 #define ULONG_MAX 0xFFFFFFFFFFFFFFFFUL 2440 #define LONG_MAX 9223372036854775807L 2441 2442 #define CHAR_MIN 0 2443 #define CHAR_MAX 255 2444 2445 #define PTHREAD_STACK_MIN 16384 2446 __________________________________________________________ 2447 2448 11.3.12. locale.h 2449 2450 /* 2451 * This header is architecture neutral 2452 * Please refer to the generic specification for details 2453 */ 2454 __________________________________________________________ 2455 2456 11.3.13. net/if.h 2457 2458 /* 2459 * This header is architecture neutral 2460 * Please refer to the generic specification for details 2461 */ 2462 __________________________________________________________ 2463 2464 11.3.14. netdb.h 2465 2466 /* 2467 * This header is architecture neutral 2468 * Please refer to the generic specification for details 2469 */ 2470 __________________________________________________________ 2471 2472 11.3.15. netinet/in.h 2473 2474 /* 2475 * This header is architecture neutral 2476 * Please refer to the generic specification for details 2477 */ 2478 __________________________________________________________ 2479 2480 11.3.16. netinet/ip.h 2481 2482 /* 2483 * This header is architecture neutral 2484 * Please refer to the generic specification for details 2485 */ 2486 __________________________________________________________ 2487 2488 11.3.17. netinet/tcp.h 2489 2490 /* 2491 * This header is architecture neutral 2492 * Please refer to the generic specification for details 2493 */ 2494 __________________________________________________________ 2495 2496 11.3.18. netinet/udp.h 2497 2498 /* 2499 * This header is architecture neutral 2500 * Please refer to the generic specification for details 2501 */ 2502 __________________________________________________________ 2503 2504 11.3.19. nl_types.h 2505 2506 /* 2507 * This header is architecture neutral 2508 * Please refer to the generic specification for details 2509 */ 2510 __________________________________________________________ 2511 2512 11.3.20. pwd.h 2513 2514 /* 2515 * This header is architecture neutral 2516 * Please refer to the generic specification for details 2517 */ 2518 __________________________________________________________ 2519 2520 11.3.21. regex.h 2521 2522 /* 2523 * This header is architecture neutral 2524 * Please refer to the generic specification for details 2525 */ 2526 __________________________________________________________ 2527 2528 11.3.22. rpc/auth.h 2529 2530 /* 2531 * This header is architecture neutral 2532 * Please refer to the generic specification for details 2533 */ 2534 __________________________________________________________ 2535 2536 11.3.23. rpc/clnt.h 2537 2538 /* 2539 * This header is architecture neutral 2540 * Please refer to the generic specification for details 2541 */ 2542 __________________________________________________________ 2543 2544 11.3.24. rpc/rpc_msg.h 2545 2546 /* 2547 * This header is architecture neutral 2548 * Please refer to the generic specification for details 2549 */ 2550 __________________________________________________________ 2551 2552 11.3.25. rpc/svc.h 2553 2554 /* 2555 * This header is architecture neutral 2556 * Please refer to the generic specification for details 2557 */ 2558 __________________________________________________________ 2559 2560 11.3.26. rpc/types.h 2561 2562 /* 2563 * This header is architecture neutral 2564 * Please refer to the generic specification for details 2565 */ 2566 __________________________________________________________ 2567 2568 11.3.27. rpc/xdr.h 2569 2570 /* 2571 * This header is architecture neutral 2572 * Please refer to the generic specification for details 2573 */ 2574 __________________________________________________________ 2575 2576 11.3.28. sched.h 2577 2578 /* 2579 * This header is architecture neutral 2580 * Please refer to the generic specification for details 2581 */ 2582 __________________________________________________________ 2583 2584 11.3.29. search.h 2585 2586 /* 2587 * This header is architecture neutral 2588 * Please refer to the generic specification for details 2589 */ 2590 __________________________________________________________ 2591 2592 11.3.30. setjmp.h 2593 2594 typedef long int __jmp_buf[18]; 2595 __________________________________________________________ 2596 2597 11.3.31. signal.h 2598 2599 #define __NUM_ACRS 16 2600 #define __NUM_FPRS 16 2601 #define __NUM_GPRS 16 2602 2603 typedef struct { 2604 unsigned long int mask; 2605 unsigned long int addr; 2606 } __attribute__ ((aligned(8))) 2607 _psw_t; 2608 typedef struct { 2609 _psw_t psw; 2610 unsigned long int gprs[16]; 2611 unsigned int acrs[16]; 2612 } _s390_regs_common; 2613 2614 #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int))-4) 2615 2616 #define SI_PAD_SIZE ((SI_MAX_SIZE/sizeof(int))-4) 2617 2618 struct sigaction { 2619 union { 2620 sighandler_t _sa_handler; 2621 void (*_sa_sigaction) (int, siginfo_t *, void *); 2622 } __sigaction_handler; 2623 unsigned long int sa_flags; 2624 void (*sa_restorer) (void); 2625 sigset_t sa_mask; 2626 }; 2627 2628 #define MINSIGSTKSZ 2048 2629 #define SIGSTKSZ 8192 2630 2631 typedef struct { 2632 unsigned int fpc; 2633 double fprs[__NUM_FPRS]; 2634 } _s390_fp_regs; 2635 typedef struct { 2636 _s390_regs_common regs; 2637 _s390_fp_regs fpregs; 2638 } _sigregs; 2639 2640 struct sigcontext { 2641 unsigned long int oldmask; 2642 _sigregs *sregs; 2643 }; 2644 __________________________________________________________ 2645 2646 11.3.32. spawn.h 2647 2648 /* 2649 * This header is architecture neutral 2650 * Please refer to the generic specification for details 2651 */ 2652 __________________________________________________________ 2653 2654 11.3.33. stddef.h 2655 2656 typedef int wchar_t; 2657 typedef unsigned long int size_t; 2658 typedef long int ptrdiff_t; 2659 __________________________________________________________ 2660 2661 11.3.34. stdint.h 2662 2663 #define INT64_C(c) c ## L 2664 #define INTMAX_C(c) c ## L 2665 #define __INT64_C(c) c ## L 2666 #define UINT64_C(c) c ## UL 2667 #define UINTMAX_C(c) c ## UL 2668 #define __UINT64_C(c) c ## UL 2669 2670 #define INTPTR_MIN (-9223372036854775807L-1) 2671 #define INT_FAST16_MIN (-9223372036854775807L-1) 2672 #define INT_FAST32_MIN (-9223372036854775807L-1) 2673 #define PTRDIFF_MIN (-9223372036854775807L-1) 2674 #define SIZE_MAX (18446744073709551615UL) 2675 #define UINTPTR_MAX (18446744073709551615UL) 2676 #define UINT_FAST16_MAX (18446744073709551615UL) 2677 #define UINT_FAST32_MAX (18446744073709551615UL) 2678 #define INTPTR_MAX (9223372036854775807L) 2679 #define INT_FAST16_MAX (9223372036854775807L) 2680 #define INT_FAST32_MAX (9223372036854775807L) 2681 #define PTRDIFF_MAX (9223372036854775807L) 2682 2683 typedef long int int64_t; 2684 typedef long int intmax_t; 2685 typedef unsigned long int uintmax_t; 2686 typedef long int intptr_t; 2687 typedef unsigned long int uintptr_t; 2688 typedef unsigned long int uint64_t; 2689 typedef long int int_least64_t; 2690 typedef unsigned long int uint_least64_t; 2691 typedef long int int_fast16_t; 2692 typedef long int int_fast32_t; 2693 typedef long int int_fast64_t; 2694 typedef unsigned long int uint_fast16_t; 2695 typedef unsigned long int uint_fast32_t; 2696 typedef unsigned long int uint_fast64_t; 2697 __________________________________________________________ 2698 2699 11.3.35. stdio.h 2700 2701 #define __IO_FILE_SIZE 216 2702 __________________________________________________________ 2703 2704 11.3.36. stdlib.h 2705 2706 /* 2707 * This header is architecture neutral 2708 * Please refer to the generic specification for details 2709 */ 2710 __________________________________________________________ 2711 2712 11.3.37. sys/file.h 2713 2714 /* 2715 * This header is architecture neutral 2716 * Please refer to the generic specification for details 2717 */ 2718 __________________________________________________________ 2719 2720 11.3.38. sys/ioctl.h 2721 2722 #define TIOCGWINSZ 0x5413 2723 #define FIONREAD 21531 2724 #define TIOCNOTTY 21538 2725 __________________________________________________________ 2726 2727 11.3.39. sys/ipc.h 2728 2729 struct ipc_perm { 2730 key_t __key; 2731 uid_t uid; 2732 gid_t gid; 2733 uid_t cuid; 2734 gid_t cgid; 2735 mode_t mode; 2736 unsigned short __seq; 2737 unsigned short __pad2; 2738 unsigned long int __unused1; 2739 unsigned long int __unused2; 2740 }; 2741 __________________________________________________________ 2742 2743 11.3.40. sys/mman.h 2744 2745 #define MCL_CURRENT 1 2746 #define MCL_FUTURE 2 2747 __________________________________________________________ 2748 2749 11.3.41. sys/msg.h 2750 2751 typedef unsigned long int msgqnum_t; 2752 typedef unsigned long int msglen_t; 2753 2754 struct msqid_ds { 2755 struct ipc_perm msg_perm; 2756 time_t msg_stime; 2757 time_t msg_rtime; 2758 time_t msg_ctime; 2759 unsigned long int __msg_cbytes; 2760 msgqnum_t msg_qnum; 2761 msglen_t msg_qbytes; 2762 pid_t msg_lspid; 2763 pid_t msg_lrpid; 2764 unsigned long int __unused4; 2765 unsigned long int __unused5; 2766 }; 2767 __________________________________________________________ 2768 2769 11.3.42. sys/param.h 2770 2771 /* 2772 * This header is architecture neutral 2773 * Please refer to the generic specification for details 2774 */ 2775 __________________________________________________________ 2776 2777 11.3.43. sys/poll.h 2778 2779 /* 2780 * This header is architecture neutral 2781 * Please refer to the generic specification for details 2782 */ 2783 __________________________________________________________ 2784 2785 11.3.44. sys/resource.h 2786 2787 /* 2788 * This header is architecture neutral 2789 * Please refer to the generic specification for details 2790 */ 2791 __________________________________________________________ 2792 2793 11.3.45. sys/sem.h 2794 2795 struct semid_ds { 2796 struct ipc_perm sem_perm; 2797 time_t sem_otime; 2798 time_t sem_ctime; 2799 unsigned long int sem_nsems; 2800 unsigned long int __unused3; 2801 unsigned long int __unused4; 2802 }; 2803 __________________________________________________________ 2804 2805 11.3.46. sys/shm.h 2806 2807 #define SHMLBA (__getpagesize()) 2808 2809 typedef unsigned long int shmatt_t; 2810 2811 struct shmid_ds { 2812 struct ipc_perm shm_perm; 2813 size_t shm_segsz; 2814 time_t shm_atime; 2815 time_t shm_dtime; 2816 time_t shm_ctime; 2817 pid_t shm_cpid; 2818 pid_t shm_lpid; 2819 shmatt_t shm_nattch; 2820 unsigned long int __unused4; 2821 unsigned long int __unused5; 2822 }; 2823 __________________________________________________________ 2824 2825 11.3.47. sys/socket.h 2826 2827 typedef uint64_t __ss_aligntype; 2828 2829 #define SO_RCVLOWAT 18 2830 #define SO_SNDLOWAT 19 2831 #define SO_RCVTIMEO 20 2832 #define SO_SNDTIMEO 21 2833 __________________________________________________________ 2834 2835 11.3.48. sys/stat.h 2836 2837 #define _STAT_VER 1 2838 2839 struct stat { 2840 dev_t st_dev; 2841 ino_t st_ino; 2842 nlink_t st_nlink; 2843 mode_t st_mode; 2844 uid_t st_uid; 2845 gid_t st_gid; 2846 int pad0; 2847 dev_t st_rdev; 2848 off_t st_size; 2849 struct timespec st_atim; 2850 struct timespec st_mtim; 2851 struct timespec st_ctim; 2852 blksize_t st_blksize; 2853 blkcnt_t st_blocks; 2854 long int __unused[3]; 2855 }; 2856 struct stat64 { 2857 dev_t st_dev; 2858 ino64_t st_ino; 2859 nlink_t st_nlink; 2860 mode_t st_mode; 2861 uid_t st_uid; 2862 gid_t st_gid; 2863 int pad0; 2864 dev_t st_rdev; 2865 off_t st_size; 2866 struct timespec st_atim; 2867 struct timespec st_mtim; 2868 struct timespec st_ctim; 2869 blksize_t st_blksize; 2870 blkcnt64_t st_blocks; 2871 long int __unused[3]; 2872 }; 2873 __________________________________________________________ 2874 2875 11.3.49. sys/statfs.h 2876 2877 struct statfs { 2878 int f_type; 2879 int f_bsize; 2880 fsblkcnt_t f_blocks; 2881 fsblkcnt_t f_bfree; 2882 fsblkcnt_t f_bavail; 2883 fsfilcnt_t f_files; 2884 fsfilcnt_t f_ffree; 2885 fsid_t f_fsid; 2886 int f_namelen; 2887 int f_frsize; 2888 int f_spare[5]; 2889 }; 2890 struct statfs64 { 2891 int f_type; 2892 int f_bsize; 2893 fsblkcnt64_t f_blocks; 2894 fsblkcnt64_t f_bfree; 2895 fsblkcnt64_t f_bavail; 2896 fsfilcnt64_t f_files; 2897 fsfilcnt64_t f_ffree; 2898 fsid_t f_fsid; 2899 int f_namelen; 2900 int f_frsize; 2901 int f_spare[5]; 2902 }; 2903 __________________________________________________________ 2904 2905 11.3.50. sys/statvfs.h 2906 2907 struct statvfs { 2908 unsigned long int f_bsize; 2909 unsigned long int f_frsize; 2910 fsblkcnt64_t f_blocks; 2911 fsblkcnt64_t f_bfree; 2912 fsblkcnt64_t f_bavail; 2913 fsfilcnt64_t f_files; 2914 fsfilcnt64_t f_ffree; 2915 fsfilcnt64_t f_favail; 2916 unsigned long int f_fsid; 2917 unsigned long int f_flag; 2918 unsigned long int f_namemax; 2919 int __f_spare[6]; 2920 }; 2921 struct statvfs64 { 2922 unsigned long int f_bsize; 2923 unsigned long int f_frsize; 2924 fsblkcnt64_t f_blocks; 2925 fsblkcnt64_t f_bfree; 2926 fsblkcnt64_t f_bavail; 2927 fsfilcnt64_t f_files; 2928 fsfilcnt64_t f_ffree; 2929 fsfilcnt64_t f_favail; 2930 unsigned long int f_fsid; 2931 unsigned long int f_flag; 2932 unsigned long int f_namemax; 2933 int __f_spare[6]; 2934 }; 2935 __________________________________________________________ 2936 2937 11.3.51. sys/time.h 2938 2939 /* 2940 * This header is architecture neutral 2941 * Please refer to the generic specification for details 2942 */ 2943 __________________________________________________________ 2944 2945 11.3.52. sys/timeb.h 2946 2947 /* 2948 * This header is architecture neutral 2949 * Please refer to the generic specification for details 2950 */ 2951 __________________________________________________________ 2952 2953 11.3.53. sys/times.h 2954 2955 /* 2956 * This header is architecture neutral 2957 * Please refer to the generic specification for details 2958 */ 2959 __________________________________________________________ 2960 2961 11.3.54. sys/types.h 2962 2963 typedef int64_t ssize_t; 2964 2965 #define __FDSET_LONGS 16 2966 __________________________________________________________ 2967 2968 11.3.55. sys/un.h 2969 2970 /* 2971 * This header is architecture neutral 2972 * Please refer to the generic specification for details 2973 */ 2974 __________________________________________________________ 2975 2976 11.3.56. sys/utsname.h 2977 2978 /* 2979 * This header is architecture neutral 2980 * Please refer to the generic specification for details 2981 */ 2982 __________________________________________________________ 2983 2984 11.3.57. sys/wait.h 2985 2986 /* 2987 * This header is architecture neutral 2988 * Please refer to the generic specification for details 2989 */ 2990 __________________________________________________________ 2991 2992 11.3.58. syslog.h 2993 2994 /* 2995 * This header is architecture neutral 2996 * Please refer to the generic specification for details 2997 */ 2998 __________________________________________________________ 2999 3000 11.3.59. termios.h 3001 3002 #define CR2 1024 3003 #define CR3 1536 3004 #define CRDLY 1536 3005 #define VT1 16384 3006 #define VTDLY 16384 3007 #define OLCUC 2 3008 #define TAB1 2048 3009 #define NLDLY 256 3010 #define FF1 32768 3011 #define FFDLY 32768 3012 #define ONLCR 4 3013 #define XCASE 4 3014 #define TAB2 4096 3015 #define CR1 512 3016 #define IUCLC 512 3017 #define TAB3 6144 3018 #define TABDLY 6144 3019 #define BS1 8192 3020 #define BSDLY 8192 3021 3022 #define VSUSP 10 3023 #define VEOL 11 3024 #define VREPRINT 12 3025 #define VDISCARD 13 3026 #define VWERASE 14 3027 #define VEOL2 16 3028 #define VMIN 6 3029 #define VSWTC 7 3030 #define VSTART 8 3031 #define VSTOP 9 3032 3033 #define IXON 1024 3034 #define IXOFF 4096 3035 3036 #define HUPCL 1024 3037 #define CREAD 128 3038 #define CS6 16 3039 #define CLOCAL 2048 3040 #define PARENB 256 3041 #define CS7 32 3042 #define CS8 48 3043 #define CSIZE 48 3044 #define VTIME 5 3045 #define PARODD 512 3046 #define CSTOPB 64 3047 3048 #define ISIG 1 3049 #define ECHOPRT 1024 3050 #define NOFLSH 128 3051 #define ECHOE 16 3052 #define PENDIN 16384 3053 #define ICANON 2 3054 #define ECHOKE 2048 3055 #define TOSTOP 256 3056 #define ECHOK 32 3057 #define IEXTEN 32768 3058 #define FLUSHO 4096 3059 #define ECHOCTL 512 3060 #define ECHONL 64 3061 __________________________________________________________ 3062 3063 11.3.60. ucontext.h 3064 3065 #define NGREG 27 3066 3067 typedef union { 3068 double d; 3069 float f; 3070 } fpreg_t; 3071 3072 typedef struct { 3073 unsigned int fpc; 3074 fpreg_t fprs[16]; 3075 } fpregset_t; 3076 3077 typedef struct { 3078 _psw_t psw; 3079 unsigned long int gregs[16]; 3080 unsigned int aregs[16]; 3081 fpregset_t fpregs; 3082 } mcontext_t; 3083 3084 typedef struct ucontext { 3085 unsigned long int uc_flags; 3086 struct ucontext *uc_link; 3087 stack_t uc_stack; 3088 mcontext_t uc_mcontext; 3089 sigset_t uc_sigmask; 3090 } ucontext_t; 3091 __________________________________________________________ 3092 3093 11.3.61. ulimit.h 3094 3095 /* 3096 * This header is architecture neutral 3097 * Please refer to the generic specification for details 3098 */ 3099 __________________________________________________________ 3100 3101 11.3.62. unistd.h 3102 3103 /* 3104 * This header is architecture neutral 3105 * Please refer to the generic specification for details 3106 */ 3107 __________________________________________________________ 3108 3109 11.3.63. utime.h 3110 3111 /* 3112 * This header is architecture neutral 3113 * Please refer to the generic specification for details 3114 */ 3115 __________________________________________________________ 3116 3117 11.3.64. utmp.h 3118 3119 struct lastlog { 3120 time_t ll_time; 3121 char ll_line[UT_LINESIZE]; 3122 char ll_host[UT_HOSTSIZE]; 3123 }; 3124 3125 struct utmp { 3126 short ut_type; 3127 pid_t ut_pid; 3128 char ut_line[UT_LINESIZE]; 3129 char ut_id[4]; 3130 char ut_user[UT_NAMESIZE]; 3131 char ut_host[UT_HOSTSIZE]; 3132 struct exit_status ut_exit; 3133 long int ut_session; 3134 struct timeval ut_tv; 3135 int32_t ut_addr_v6[4]; 3136 char __unused[20]; 3137 }; 3138 __________________________________________________________ 3139 3140 11.3.65. utmpx.h 3141 3142 struct utmpx { 3143 short ut_type; 3144 pid_t ut_pid; 3145 char ut_line[UT_LINESIZE]; 3146 char ut_id[4]; 3147 char ut_user[UT_NAMESIZE]; 3148 char ut_host[UT_HOSTSIZE]; 3149 struct exit_status ut_exit; 3150 long int ut_session; 3151 struct timeval ut_tv; 3152 int32_t ut_addr_v6[4]; 3153 char __unused[20]; 3154 }; 3155 __________________________________________________________ 3156 3157 11.3.66. wctype.h 3158 3159 /* 3160 * This header is architecture neutral 3161 * Please refer to the generic specification for details 3162 */ 3163 __________________________________________________________ 3164 3165 11.3.67. wordexp.h 3166 3167 /* 3168 * This header is architecture neutral 3169 * Please refer to the generic specification for details 3170 */ 3171 __________________________________________________________ 3172 3173 11.4. Interfaces for libm 3174 3175 Table 11-33 defines the library name and shared object name for 3176 the libm library 3177 3178 Table 11-33. libm Definition 3179 Library: libm 3180 SONAME: libm.so.6 3181 3182 The behavior of the interfaces in this library is specified by 3183 the following specifications: 3184 3185 [ISOC99] ISO C (1999) 3186 [LSB] ISO/IEC 23360 Part 1 3187 [SUSv3] ISO POSIX (2003) 3188 [SVID.3] SVID Issue 3 3189 __________________________________________________________ 3190 3191 11.4.1. Math 3192 __________________________________________________________ 3193 3194 11.4.1.1. Interfaces for Math 3195 3196 An LSB conforming implementation shall provide the architecture 3197 specific functions for Math specified in Table 11-34, with the 3198 full mandatory functionality as described in the referenced 3199 underlying specification. 3200 3201 Table 11-34. libm - Math Function Interfaces 3202 __finite(GLIBC_2.2) [LSB] __finitef(GLIBC_2.2) [LSB] 3203 __finitel(GLIBC_2.2) [LSB] __fpclassify(GLIBC_2.2) [LSB] 3204 __fpclassifyf(GLIBC_2.2) [LSB] __signbit(GLIBC_2.2) [LSB] 3205 __signbitf(GLIBC_2.2) [LSB] acos(GLIBC_2.2) [SUSv3] 3206 acosf(GLIBC_2.2) [SUSv3] acosh(GLIBC_2.2) [SUSv3] 3207 acoshf(GLIBC_2.2) [SUSv3] acoshl(GLIBC_2.2) [SUSv3] 3208 acosl(GLIBC_2.2) [SUSv3] asin(GLIBC_2.2) [SUSv3] 3209 asinf(GLIBC_2.2) [SUSv3] asinh(GLIBC_2.2) [SUSv3] 3210 asinhf(GLIBC_2.2) [SUSv3] asinhl(GLIBC_2.2) [SUSv3] 3211 asinl(GLIBC_2.2) [SUSv3] atan(GLIBC_2.2) [SUSv3] 3212 atan2(GLIBC_2.2) [SUSv3] atan2f(GLIBC_2.2) [SUSv3] 3213 atan2l(GLIBC_2.2) [SUSv3] atanf(GLIBC_2.2) [SUSv3] 3214 atanh(GLIBC_2.2) [SUSv3] atanhf(GLIBC_2.2) [SUSv3] 3215 atanhl(GLIBC_2.2) [SUSv3] atanl(GLIBC_2.2) [SUSv3] 3216 cabs(GLIBC_2.2) [SUSv3] cabsf(GLIBC_2.2) [SUSv3] 3217 cabsl(GLIBC_2.2) [SUSv3] cacos(GLIBC_2.2) [SUSv3] 3218 cacosf(GLIBC_2.2) [SUSv3] cacosh(GLIBC_2.2) [SUSv3] 3219 cacoshf(GLIBC_2.2) [SUSv3] cacoshl(GLIBC_2.2) [SUSv3] 3220 cacosl(GLIBC_2.2) [SUSv3] carg(GLIBC_2.2) [SUSv3] 3221 cargf(GLIBC_2.2) [SUSv3] cargl(GLIBC_2.2) [SUSv3] 3222 casin(GLIBC_2.2) [SUSv3] casinf(GLIBC_2.2) [SUSv3] 3223 casinh(GLIBC_2.2) [SUSv3] casinhf(GLIBC_2.2) [SUSv3] 3224 casinhl(GLIBC_2.2) [SUSv3] casinl(GLIBC_2.2) [SUSv3] 3225 catan(GLIBC_2.2) [SUSv3] catanf(GLIBC_2.2) [SUSv3] 3226 catanh(GLIBC_2.2) [SUSv3] catanhf(GLIBC_2.2) [SUSv3] 3227 catanhl(GLIBC_2.2) [SUSv3] catanl(GLIBC_2.2) [SUSv3] 3228 cbrt(GLIBC_2.2) [SUSv3] cbrtf(GLIBC_2.2) [SUSv3] 3229 cbrtl(GLIBC_2.2) [SUSv3] ccos(GLIBC_2.2) [SUSv3] 3230 ccosf(GLIBC_2.2) [SUSv3] ccosh(GLIBC_2.2) [SUSv3] 3231 ccoshf(GLIBC_2.2) [SUSv3] ccoshl(GLIBC_2.2) [SUSv3] 3232 ccosl(GLIBC_2.2) [SUSv3] ceil(GLIBC_2.2) [SUSv3] 3233 ceilf(GLIBC_2.2) [SUSv3] ceill(GLIBC_2.2) [SUSv3] 3234 cexp(GLIBC_2.2) [SUSv3] cexpf(GLIBC_2.2) [SUSv3] 3235 cexpl(GLIBC_2.2) [SUSv3] cimag(GLIBC_2.2) [SUSv3] 3236 cimagf(GLIBC_2.2) [SUSv3] cimagl(GLIBC_2.2) [SUSv3] 3237 clog(GLIBC_2.2) [SUSv3] clog10(GLIBC_2.2) [LSB] 3238 clog10f(GLIBC_2.2) [LSB] clog10l(GLIBC_2.2) [LSB] 3239 clogf(GLIBC_2.2) [SUSv3] clogl(GLIBC_2.2) [SUSv3] 3240 conj(GLIBC_2.2) [SUSv3] conjf(GLIBC_2.2) [SUSv3] 3241 conjl(GLIBC_2.2) [SUSv3] copysign(GLIBC_2.2) [SUSv3] 3242 copysignf(GLIBC_2.2) [SUSv3] copysignl(GLIBC_2.2) [SUSv3] 3243 cos(GLIBC_2.2) [SUSv3] cosf(GLIBC_2.2) [SUSv3] 3244 cosh(GLIBC_2.2) [SUSv3] coshf(GLIBC_2.2) [SUSv3] 3245 coshl(GLIBC_2.2) [SUSv3] cosl(GLIBC_2.2) [SUSv3] 3246 cpow(GLIBC_2.2) [SUSv3] cpowf(GLIBC_2.2) [SUSv3] 3247 cpowl(GLIBC_2.2) [SUSv3] cproj(GLIBC_2.2) [SUSv3] 3248 cprojf(GLIBC_2.2) [SUSv3] cprojl(GLIBC_2.2) [SUSv3] 3249 creal(GLIBC_2.2) [SUSv3] crealf(GLIBC_2.2) [SUSv3] 3250 creall(GLIBC_2.2) [SUSv3] csin(GLIBC_2.2) [SUSv3] 3251 csinf(GLIBC_2.2) [SUSv3] csinh(GLIBC_2.2) [SUSv3] 3252 csinhf(GLIBC_2.2) [SUSv3] csinhl(GLIBC_2.2) [SUSv3] 3253 csinl(GLIBC_2.2) [SUSv3] csqrt(GLIBC_2.2) [SUSv3] 3254 csqrtf(GLIBC_2.2) [SUSv3] csqrtl(GLIBC_2.2) [SUSv3] 3255 ctan(GLIBC_2.2) [SUSv3] ctanf(GLIBC_2.2) [SUSv3] 3256 ctanh(GLIBC_2.2) [SUSv3] ctanhf(GLIBC_2.2) [SUSv3] 3257 ctanhl(GLIBC_2.2) [SUSv3] ctanl(GLIBC_2.2) [SUSv3] 3258 drem(GLIBC_2.2) [LSB] dremf(GLIBC_2.2) [LSB] dreml(GLIBC_2.2) 3259 [LSB] erf(GLIBC_2.2) [SUSv3] 3260 erfc(GLIBC_2.2) [SUSv3] erfcf(GLIBC_2.2) [SUSv3] 3261 erfcl(GLIBC_2.2) [SUSv3] erff(GLIBC_2.2) [SUSv3] 3262 erfl(GLIBC_2.2) [SUSv3] exp(GLIBC_2.2) [SUSv3] exp10(GLIBC_2.2) 3263 [LSB] exp10f(GLIBC_2.2) [LSB] 3264 exp10l(GLIBC_2.2) [LSB] exp2(GLIBC_2.2) [SUSv3] 3265 exp2f(GLIBC_2.2) [SUSv3] expf(GLIBC_2.2) [SUSv3] 3266 expl(GLIBC_2.2) [SUSv3] expm1(GLIBC_2.2) [SUSv3] 3267 expm1f(GLIBC_2.2) [SUSv3] expm1l(GLIBC_2.2) [SUSv3] 3268 fabs(GLIBC_2.2) [SUSv3] fabsf(GLIBC_2.2) [SUSv3] 3269 fabsl(GLIBC_2.2) [SUSv3] fdim(GLIBC_2.2) [SUSv3] 3270 fdimf(GLIBC_2.2) [SUSv3] fdiml(GLIBC_2.2) [SUSv3] 3271 feclearexcept(GLIBC_2.2) [SUSv3] fedisableexcept(GLIBC_2.2) 3272 [LSB] 3273 feenableexcept(GLIBC_2.2) [LSB] fegetenv(GLIBC_2.2) [SUSv3] 3274 fegetexcept(GLIBC_2.2) [LSB] fegetexceptflag(GLIBC_2.2) [SUSv3] 3275 fegetround(GLIBC_2.2) [SUSv3] feholdexcept(GLIBC_2.2) [SUSv3] 3276 feraiseexcept(GLIBC_2.2) [SUSv3] fesetenv(GLIBC_2.2) [SUSv3] 3277 fesetexceptflag(GLIBC_2.2) [SUSv3] fesetround(GLIBC_2.2) 3278 [SUSv3] fetestexcept(GLIBC_2.2) [SUSv3] feupdateenv(GLIBC_2.2) 3279 [SUSv3] 3280 finite(GLIBC_2.2) [LSB] finitef(GLIBC_2.2) [LSB] 3281 finitel(GLIBC_2.2) [LSB] floor(GLIBC_2.2) [SUSv3] 3282 floorf(GLIBC_2.2) [SUSv3] floorl(GLIBC_2.2) [SUSv3] 3283 fma(GLIBC_2.2) [SUSv3] fmaf(GLIBC_2.2) [SUSv3] 3284 fmal(GLIBC_2.2) [SUSv3] fmax(GLIBC_2.2) [SUSv3] 3285 fmaxf(GLIBC_2.2) [SUSv3] fmaxl(GLIBC_2.2) [SUSv3] 3286 fmin(GLIBC_2.2) [SUSv3] fminf(GLIBC_2.2) [SUSv3] 3287 fminl(GLIBC_2.2) [SUSv3] fmod(GLIBC_2.2) [SUSv3] 3288 fmodf(GLIBC_2.2) [SUSv3] fmodl(GLIBC_2.2) [SUSv3] 3289 frexp(GLIBC_2.2) [SUSv3] frexpf(GLIBC_2.2) [SUSv3] 3290 frexpl(GLIBC_2.2) [SUSv3] gamma(GLIBC_2.2) [LSB] 3291 gammaf(GLIBC_2.2) [LSB] gammal(GLIBC_2.2) [LSB] 3292 hypot(GLIBC_2.2) [SUSv3] hypotf(GLIBC_2.2) [SUSv3] 3293 hypotl(GLIBC_2.2) [SUSv3] ilogb(GLIBC_2.2) [SUSv3] 3294 ilogbf(GLIBC_2.2) [SUSv3] ilogbl(GLIBC_2.2) [SUSv3] 3295 j0(GLIBC_2.2) [SUSv3] j0f(GLIBC_2.2) [LSB] 3296 j0l(GLIBC_2.2) [LSB] j1(GLIBC_2.2) [SUSv3] j1f(GLIBC_2.2) [LSB] 3297 j1l(GLIBC_2.2) [LSB] 3298 jn(GLIBC_2.2) [SUSv3] jnf(GLIBC_2.2) [LSB] jnl(GLIBC_2.2) [LSB] 3299 ldexp(GLIBC_2.2) [SUSv3] 3300 ldexpf(GLIBC_2.2) [SUSv3] ldexpl(GLIBC_2.2) [SUSv3] 3301 lgamma(GLIBC_2.2) [SUSv3] lgamma_r(GLIBC_2.2) [LSB] 3302 lgammaf(GLIBC_2.2) [SUSv3] lgammaf_r(GLIBC_2.2) [LSB] 3303 lgammal(GLIBC_2.2) [SUSv3] lgammal_r(GLIBC_2.2) [LSB] 3304 llrint(GLIBC_2.2) [SUSv3] llrintf(GLIBC_2.2) [SUSv3] 3305 llrintl(GLIBC_2.2) [SUSv3] llround(GLIBC_2.2) [SUSv3] 3306 llroundf(GLIBC_2.2) [SUSv3] llroundl(GLIBC_2.2) [SUSv3] 3307 log(GLIBC_2.2) [SUSv3] log10(GLIBC_2.2) [SUSv3] 3308 log10f(GLIBC_2.2) [SUSv3] log10l(GLIBC_2.2) [SUSv3] 3309 log1p(GLIBC_2.2) [SUSv3] log1pf(GLIBC_2.2) [SUSv3] 3310 log1pl(GLIBC_2.2) [SUSv3] log2(GLIBC_2.2) [SUSv3] 3311 log2f(GLIBC_2.2) [SUSv3] log2l(GLIBC_2.2) [SUSv3] 3312 logb(GLIBC_2.2) [SUSv3] logbf(GLIBC_2.2) [SUSv3] 3313 logbl(GLIBC_2.2) [SUSv3] logf(GLIBC_2.2) [SUSv3] 3314 logl(GLIBC_2.2) [SUSv3] lrint(GLIBC_2.2) [SUSv3] 3315 lrintf(GLIBC_2.2) [SUSv3] lrintl(GLIBC_2.2) [SUSv3] 3316 lround(GLIBC_2.2) [SUSv3] lroundf(GLIBC_2.2) [SUSv3] 3317 lroundl(GLIBC_2.2) [SUSv3] matherr(GLIBC_2.2) [SVID.3] 3318 modf(GLIBC_2.2) [SUSv3] modff(GLIBC_2.2) [SUSv3] 3319 modfl(GLIBC_2.2) [SUSv3] nan(GLIBC_2.2) [SUSv3] 3320 nanf(GLIBC_2.2) [SUSv3] nanl(GLIBC_2.2) [SUSv3] 3321 nearbyint(GLIBC_2.2) [SUSv3] nearbyintf(GLIBC_2.2) [SUSv3] 3322 nearbyintl(GLIBC_2.2) [SUSv3] nextafter(GLIBC_2.2) [SUSv3] 3323 nextafterf(GLIBC_2.2) [SUSv3] nextafterl(GLIBC_2.2) [SUSv3] 3324 nexttoward(GLIBC_2.2) [SUSv3] nexttowardf(GLIBC_2.2) [SUSv3] 3325 nexttowardl(GLIBC_2.2) [SUSv3] pow(GLIBC_2.2) [SUSv3] 3326 pow10(GLIBC_2.2) [LSB] pow10f(GLIBC_2.2) [LSB] 3327 pow10l(GLIBC_2.2) [LSB] powf(GLIBC_2.2) [SUSv3] 3328 powl(GLIBC_2.2) [SUSv3] remainder(GLIBC_2.2) [SUSv3] 3329 remainderf(GLIBC_2.2) [SUSv3] remainderl(GLIBC_2.2) [SUSv3] 3330 remquo(GLIBC_2.2) [SUSv3] remquof(GLIBC_2.2) [SUSv3] 3331 remquol(GLIBC_2.2) [SUSv3] rint(GLIBC_2.2) [SUSv3] 3332 rintf(GLIBC_2.2) [SUSv3] rintl(GLIBC_2.2) [SUSv3] 3333 round(GLIBC_2.2) [SUSv3] roundf(GLIBC_2.2) [SUSv3] 3334 roundl(GLIBC_2.2) [SUSv3] scalb(GLIBC_2.2) [SUSv3] 3335 scalbf(GLIBC_2.2) [ISOC99] scalbl(GLIBC_2.2) [ISOC99] 3336 scalbln(GLIBC_2.2) [SUSv3] scalblnf(GLIBC_2.2) [SUSv3] 3337 scalblnl(GLIBC_2.2) [SUSv3] scalbn(GLIBC_2.2) [SUSv3] 3338 scalbnf(GLIBC_2.2) [SUSv3] scalbnl(GLIBC_2.2) [SUSv3] 3339 significand(GLIBC_2.2) [LSB] significandf(GLIBC_2.2) [LSB] 3340 significandl(GLIBC_2.2) [LSB] sin(GLIBC_2.2) [SUSv3] 3341 sincos(GLIBC_2.2) [LSB] sincosf(GLIBC_2.2) [LSB] 3342 sincosl(GLIBC_2.2) [LSB] sinf(GLIBC_2.2) [SUSv3] 3343 sinh(GLIBC_2.2) [SUSv3] sinhf(GLIBC_2.2) [SUSv3] 3344 sinhl(GLIBC_2.2) [SUSv3] sinl(GLIBC_2.2) [SUSv3] 3345 sqrt(GLIBC_2.2) [SUSv3] sqrtf(GLIBC_2.2) [SUSv3] 3346 sqrtl(GLIBC_2.2) [SUSv3] tan(GLIBC_2.2) [SUSv3] tanf(GLIBC_2.2) 3347 [SUSv3] tanh(GLIBC_2.2) [SUSv3] 3348 tanhf(GLIBC_2.2) [SUSv3] tanhl(GLIBC_2.2) [SUSv3] 3349 tanl(GLIBC_2.2) [SUSv3] tgamma(GLIBC_2.2) [SUSv3] 3350 tgammaf(GLIBC_2.2) [SUSv3] tgammal(GLIBC_2.2) [SUSv3] 3351 trunc(GLIBC_2.2) [SUSv3] truncf(GLIBC_2.2) [SUSv3] 3352 truncl(GLIBC_2.2) [SUSv3] y0(GLIBC_2.2) [SUSv3] y0f(GLIBC_2.2) 3353 [LSB] y0l(GLIBC_2.2) [LSB] 3354 y1(GLIBC_2.2) [SUSv3] y1f(GLIBC_2.2) [LSB] y1l(GLIBC_2.2) [LSB] 3355 yn(GLIBC_2.2) [SUSv3] 3356 ynf(GLIBC_2.2) [LSB] ynl(GLIBC_2.2) [LSB] 3357 3358 An LSB conforming implementation shall provide the architecture 3359 specific deprecated functions for Math specified in Table 3360 11-35, with the full mandatory functionality as described in 3361 the referenced underlying specification. 3362 3363 Note: These interfaces are deprecated, and applications 3364 should avoid using them. These interfaces may be withdrawn 3365 in future releases of this specification. 3366 3367 Table 11-35. libm - Math Deprecated Function Interfaces 3368 drem(GLIBC_2.2) [LSB] dremf(GLIBC_2.2) [LSB] dreml(GLIBC_2.2) 3369 [LSB] finite(GLIBC_2.2) [LSB] 3370 finitef(GLIBC_2.2) [LSB] finitel(GLIBC_2.2) [LSB] 3371 gamma(GLIBC_2.2) [LSB] gammaf(GLIBC_2.2) [LSB] 3372 gammal(GLIBC_2.2) [LSB] matherr(GLIBC_2.2) [SVID.3] 3373 3374 An LSB conforming implementation shall provide the architecture 3375 specific data interfaces for Math specified in Table 11-36, 3376 with the full mandatory functionality as described in the 3377 referenced underlying specification. 3378 3379 Table 11-36. libm - Math Data Interfaces 3380 signgam(GLIBC_2.2) [SUSv3] 3381 __________________________________________________________ 3382 3383 11.5. Data Definitions for libm 3384 3385 This section defines global identifiers and their values that 3386 are associated with interfaces contained in libm. These 3387 definitions are organized into groups that correspond to system 3388 headers. This convention is used as a convenience for the 3389 reader, and does not imply the existence of these headers, or 3390 their content. Where an interface is defined as requiring a 3391 particular system header file all of the data definitions for 3392 that system header file presented here shall be in effect. 3393 3394 This section gives data definitions to promote binary 3395 application portability, not to repeat source interface 3396 definitions available elsewhere. System providers and 3397 application developers should use this ABI to supplement - not 3398 to replace - source interface definition specifications. 3399 3400 This specification uses the ISO C (1999) C Language as the 3401 reference programming language, and data definitions are 3402 specified in ISO C format. The C language is used here as a 3403 convenient notation. Using a C language description of these 3404 data objects does not preclude their use by other programming 3405 languages. 3406 __________________________________________________________ 3407 3408 11.5.1. complex.h 3409 3410 /* 3411 * This header is architecture neutral 3412 * Please refer to the generic specification for details 3413 */ 3414 __________________________________________________________ 3415 3416 11.5.2. fenv.h 3417 3418 #define FE_INEXACT 0x08 3419 #define FE_UNDERFLOW 0x10 3420 #define FE_OVERFLOW 0x20 3421 #define FE_DIVBYZERO 0x40 3422 #define FE_INVALID 0x80 3423 3424 #define FE_ALL_EXCEPT \ 3425 (FE_INEXACT | FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID) 3426 3427 #define FE_TONEAREST 0 3428 #define FE_TOWARDZERO 0x1 3429 #define FE_UPWARD 0x2 3430 #define FE_DOWNWARD 0x3 3431 3432 typedef unsigned int fexcept_t; 3433 3434 typedef struct { 3435 fexcept_t fpc; 3436 void *ieee_instruction_pointer; 3437 } fenv_t; 3438 3439 #define FE_DFL_ENV ((__const fenv_t *) -1) 3440 __________________________________________________________ 3441 3442 11.5.3. math.h 3443 3444 #define fpclassify(x) \ 3445 (sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x) ) 3446 #define signbit(x) \ 3447 (sizeof (x) == sizeof (float)? __signbitf (x): __signbit (x)) 3448 #define isfinite(x) \ 3449 (sizeof (x) == sizeof (float) ? __finitef (x) : __finite (x)) 3450 #define isinf(x) \ 3451 (sizeof (x) == sizeof (float) ? __isinff (x) : __isinf (x)) 3452 #define isnan(x) \ 3453 (sizeof (x) == sizeof (float) ? __isnanf (x) : __isnan (x)) 3454 3455 #define HUGE_VALL 0x1.0p2047L 3456 3457 #define FP_ILOGB0 -2147483647 3458 #define FP_ILOGBNAN 2147483647 3459 __________________________________________________________ 3460 3461 11.6. Interfaces for libpthread 3462 3463 Table 11-37 defines the library name and shared object name for 3464 the libpthread library 3465 3466 Table 11-37. libpthread Definition 3467 Library: libpthread 3468 SONAME: libpthread.so.0 3469 3470 The behavior of the interfaces in this library is specified by 3471 the following specifications: 3472 3473 [LFS] Large File Support 3474 [LSB] ISO/IEC 23360 Part 1 3475 [SUSv3] ISO POSIX (2003) 3476 __________________________________________________________ 3477 3478 11.6.1. Realtime Threads 3479 __________________________________________________________ 3480 3481 11.6.1.1. Interfaces for Realtime Threads 3482 3483 An LSB conforming implementation shall provide the architecture 3484 specific functions for Realtime Threads specified in Table 3485 11-38, with the full mandatory functionality as described in 3486 the referenced underlying specification. 3487 3488 Table 11-38. libpthread - Realtime Threads Function Interfaces 3489 pthread_attr_getinheritsched(GLIBC_2.2) [SUSv3] 3490 pthread_attr_getschedpolicy(GLIBC_2.2) [SUSv3] 3491 pthread_attr_getscope(GLIBC_2.2) [SUSv3] 3492 pthread_attr_setinheritsched(GLIBC_2.2) [SUSv3] 3493 pthread_attr_setschedpolicy(GLIBC_2.2) [SUSv3] 3494 pthread_attr_setscope(GLIBC_2.2) [SUSv3] 3495 pthread_getschedparam(GLIBC_2.2) [SUSv3] 3496 pthread_setschedparam(GLIBC_2.2) [SUSv3] 3497 __________________________________________________________ 3498 3499 11.6.2. Advanced Realtime Threads 3500 __________________________________________________________ 3501 3502 11.6.2.1. Interfaces for Advanced Realtime Threads 3503 3504 An LSB conforming implementation shall provide the architecture 3505 specific functions for Advanced Realtime Threads specified in 3506 Table 11-39, with the full mandatory functionality as described 3507 in the referenced underlying specification. 3508 3509 Table 11-39. libpthread - Advanced Realtime Threads Function 3510 Interfaces 3511 pthread_barrier_destroy(GLIBC_2.2) [SUSv3] 3512 pthread_barrier_init(GLIBC_2.2) [SUSv3] 3513 pthread_barrier_wait(GLIBC_2.2) [SUSv3] 3514 pthread_barrierattr_destroy(GLIBC_2.2) [SUSv3] 3515 pthread_barrierattr_init(GLIBC_2.2) [SUSv3] 3516 pthread_barrierattr_setpshared(GLIBC_2.2) [SUSv3] 3517 pthread_getcpuclockid(GLIBC_2.2) [SUSv3] 3518 pthread_spin_destroy(GLIBC_2.2) [SUSv3] 3519 pthread_spin_init(GLIBC_2.2) [SUSv3] 3520 pthread_spin_lock(GLIBC_2.2) [SUSv3] 3521 pthread_spin_trylock(GLIBC_2.2) [SUSv3] 3522 pthread_spin_unlock(GLIBC_2.2) [SUSv3] 3523 __________________________________________________________ 3524 3525 11.6.3. Posix Threads 3526 __________________________________________________________ 3527 3528 11.6.3.1. Interfaces for Posix Threads 3529 3530 An LSB conforming implementation shall provide the architecture 3531 specific functions for Posix Threads specified in Table 11-40, 3532 with the full mandatory functionality as described in the 3533 referenced underlying specification. 3534 3535 Table 11-40. libpthread - Posix Threads Function Interfaces 3536 _pthread_cleanup_pop(GLIBC_2.2) [LSB] 3537 _pthread_cleanup_push(GLIBC_2.2) [LSB] 3538 pthread_attr_destroy(GLIBC_2.2) [SUSv3] 3539 pthread_attr_getdetachstate(GLIBC_2.2) [SUSv3] 3540 pthread_attr_getguardsize(GLIBC_2.2) [SUSv3] 3541 pthread_attr_getschedparam(GLIBC_2.2) [SUSv3] 3542 pthread_attr_getstack(GLIBC_2.2) [SUSv3] 3543 pthread_attr_getstackaddr(GLIBC_2.2) [SUSv3] 3544 pthread_attr_getstacksize(GLIBC_2.2) [SUSv3] 3545 pthread_attr_init(GLIBC_2.2) [SUSv3] 3546 pthread_attr_setdetachstate(GLIBC_2.2) [SUSv3] 3547 pthread_attr_setguardsize(GLIBC_2.2) [SUSv3] 3548 pthread_attr_setschedparam(GLIBC_2.2) [SUSv3] 3549 pthread_attr_setstackaddr(GLIBC_2.2) [SUSv3] 3550 pthread_attr_setstacksize(GLIBC_2.2) [SUSv3] 3551 pthread_cancel(GLIBC_2.2) [SUSv3] 3552 pthread_cond_broadcast(GLIBC_2.3.2) [SUSv3] 3553 pthread_cond_destroy(GLIBC_2.3.2) [SUSv3] 3554 pthread_cond_init(GLIBC_2.3.2) [SUSv3] 3555 pthread_cond_signal(GLIBC_2.3.2) [SUSv3] 3556 pthread_cond_timedwait(GLIBC_2.3.2) [SUSv3] 3557 pthread_cond_wait(GLIBC_2.3.2) [SUSv3] 3558 pthread_condattr_destroy(GLIBC_2.2) [SUSv3] 3559 pthread_condattr_getpshared(GLIBC_2.2) [SUSv3] 3560 pthread_condattr_init(GLIBC_2.2) [SUSv3] 3561 pthread_condattr_setpshared(GLIBC_2.2) [SUSv3] 3562 pthread_create(GLIBC_2.2) [SUSv3] pthread_detach(GLIBC_2.2) 3563 [SUSv3] 3564 pthread_equal(GLIBC_2.2) [SUSv3] pthread_exit(GLIBC_2.2) 3565 [SUSv3] pthread_getconcurrency(GLIBC_2.2) [SUSv3] 3566 pthread_getspecific(GLIBC_2.2) [SUSv3] 3567 pthread_join(GLIBC_2.2) [SUSv3] pthread_key_create(GLIBC_2.2) 3568 [SUSv3] pthread_key_delete(GLIBC_2.2) [SUSv3] 3569 pthread_kill(GLIBC_2.2) [SUSv3] 3570 pthread_mutex_destroy(GLIBC_2.2) [SUSv3] 3571 pthread_mutex_init(GLIBC_2.2) [SUSv3] 3572 pthread_mutex_lock(GLIBC_2.2) [SUSv3] 3573 pthread_mutex_timedlock(GLIBC_2.2) [SUSv3] 3574 pthread_mutex_trylock(GLIBC_2.2) [SUSv3] 3575 pthread_mutex_unlock(GLIBC_2.2) [SUSv3] 3576 pthread_mutexattr_destroy(GLIBC_2.2) [SUSv3] 3577 pthread_mutexattr_getpshared(GLIBC_2.2) [SUSv3] 3578 pthread_mutexattr_gettype(GLIBC_2.2) [SUSv3] 3579 pthread_mutexattr_init(GLIBC_2.2) [SUSv3] 3580 pthread_mutexattr_setpshared(GLIBC_2.2) [SUSv3] 3581 pthread_mutexattr_settype(GLIBC_2.2) [SUSv3] 3582 pthread_once(GLIBC_2.2) [SUSv3] 3583 pthread_rwlock_destroy(GLIBC_2.2) [SUSv3] 3584 pthread_rwlock_init(GLIBC_2.2) [SUSv3] 3585 pthread_rwlock_rdlock(GLIBC_2.2) [SUSv3] 3586 pthread_rwlock_timedrdlock(GLIBC_2.2) [SUSv3] 3587 pthread_rwlock_timedwrlock(GLIBC_2.2) [SUSv3] 3588 pthread_rwlock_tryrdlock(GLIBC_2.2) [SUSv3] 3589 pthread_rwlock_trywrlock(GLIBC_2.2) [SUSv3] 3590 pthread_rwlock_unlock(GLIBC_2.2) [SUSv3] 3591 pthread_rwlock_wrlock(GLIBC_2.2) [SUSv3] 3592 pthread_rwlockattr_destroy(GLIBC_2.2) [SUSv3] 3593 pthread_rwlockattr_getpshared(GLIBC_2.2) [SUSv3] 3594 pthread_rwlockattr_init(GLIBC_2.2) [SUSv3] 3595 pthread_rwlockattr_setpshared(GLIBC_2.2) [SUSv3] 3596 pthread_self(GLIBC_2.2) [SUSv3] 3597 pthread_setcancelstate(GLIBC_2.2) [SUSv3] 3598 pthread_setcanceltype(GLIBC_2.2) [SUSv3] 3599 pthread_setconcurrency(GLIBC_2.2) [SUSv3] 3600 pthread_setspecific(GLIBC_2.2) [SUSv3] 3601 pthread_sigmask(GLIBC_2.2) [SUSv3] 3602 pthread_testcancel(GLIBC_2.2) [SUSv3] sem_close(GLIBC_2.2) 3603 [SUSv3] sem_destroy(GLIBC_2.2) [SUSv3] sem_getvalue(GLIBC_2.2) 3604 [SUSv3] 3605 sem_init(GLIBC_2.2) [SUSv3] sem_open(GLIBC_2.2) [SUSv3] 3606 sem_post(GLIBC_2.2) [SUSv3] sem_timedwait(GLIBC_2.2) [SUSv3] 3607 sem_trywait(GLIBC_2.2) [SUSv3] sem_unlink(GLIBC_2.2) [SUSv3] 3608 sem_wait(GLIBC_2.2) [SUSv3] 3609 3610 An LSB conforming implementation shall provide the architecture 3611 specific deprecated functions for Posix Threads specified in 3612 Table 11-41, with the full mandatory functionality as described 3613 in the referenced underlying specification. 3614 3615 Note: These interfaces are deprecated, and applications 3616 should avoid using them. These interfaces may be withdrawn 3617 in future releases of this specification. 3618 3619 Table 11-41. libpthread - Posix Threads Deprecated Function 3620 Interfaces 3621 pthread_attr_getstackaddr(GLIBC_2.2) [SUSv3] 3622 pthread_attr_setstackaddr(GLIBC_2.2) [SUSv3] 3623 __________________________________________________________ 3624 3625 11.6.4. Thread aware versions of libc interfaces 3626 __________________________________________________________ 3627 3628 11.6.4.1. Interfaces for Thread aware versions of libc interfaces 3629 3630 An LSB conforming implementation shall provide the architecture 3631 specific functions for Thread aware versions of libc interfaces 3632 specified in Table 11-42, with the full mandatory functionality 3633 as described in the referenced underlying specification. 3634 3635 Table 11-42. libpthread - Thread aware versions of libc 3636 interfaces Function Interfaces 3637 lseek64(GLIBC_2.2) [LFS] open64(GLIBC_2.2) [LFS] 3638 pread(GLIBC_2.2) [SUSv3] pread64(GLIBC_2.2) [LFS] 3639 pwrite(GLIBC_2.2) [SUSv3] pwrite64(GLIBC_2.2) [LFS] 3640 __________________________________________________________ 3641 3642 11.7. Data Definitions for libpthread 3643 3644 This section defines global identifiers and their values that 3645 are associated with interfaces contained in libpthread. These 3646 definitions are organized into groups that correspond to system 3647 headers. This convention is used as a convenience for the 3648 reader, and does not imply the existence of these headers, or 3649 their content. Where an interface is defined as requiring a 3650 particular system header file all of the data definitions for 3651 that system header file presented here shall be in effect. 3652 3653 This section gives data definitions to promote binary 3654 application portability, not to repeat source interface 3655 definitions available elsewhere. System providers and 3656 application developers should use this ABI to supplement - not 3657 to replace - source interface definition specifications. 3658 3659 This specification uses the ISO C (1999) C Language as the 3660 reference programming language, and data definitions are 3661 specified in ISO C format. The C language is used here as a 3662 convenient notation. Using a C language description of these 3663 data objects does not preclude their use by other programming 3664 languages. 3665 __________________________________________________________ 3666 3667 11.7.1. pthread.h 3668 3669 #define __SIZEOF_PTHREAD_BARRIER_T 32 3670 3671 typedef union { 3672 char __size[__SIZEOF_PTHREAD_BARRIER_T]; 3673 long int __align; 3674 } pthread_barrier_t; 3675 __________________________________________________________ 3676 3677 11.7.2. semaphore.h 3678 3679 /* 3680 * This header is architecture neutral 3681 * Please refer to the generic specification for details 3682 */ 3683 __________________________________________________________ 3684 3685 11.8. Interfaces for libgcc_s 3686 3687 Table 11-43 defines the library name and shared object name for 3688 the libgcc_s library 3689 3690 Table 11-43. libgcc_s Definition 3691 Library: libgcc_s 3692 SONAME: libgcc_s.so.1 3693 3694 The behavior of the interfaces in this library is specified by 3695 the following specifications: 3696 3697 [LSB] ISO/IEC 23360 Part 1 3698 __________________________________________________________ 3699 3700 11.8.1. Unwind Library 3701 __________________________________________________________ 3702 3703 11.8.1.1. Interfaces for Unwind Library 3704 3705 An LSB conforming implementation shall provide the architecture 3706 specific functions for Unwind Library specified in Table 11-44, 3707 with the full mandatory functionality as described in the 3708 referenced underlying specification. 3709 3710 Table 11-44. libgcc_s - Unwind Library Function Interfaces 3711 _Unwind_Backtrace(GCC_3.3) [LSB] 3712 _Unwind_DeleteException(GCC_3.0) [LSB] 3713 _Unwind_FindEnclosingFunction(GCC_3.3) [LSB] 3714 _Unwind_Find_FDE(GCC_3.0) [LSB] 3715 _Unwind_ForcedUnwind(GCC_3.0) [LSB] _Unwind_GetCFA(GCC_3.3) 3716 [LSB] _Unwind_GetDataRelBase(GCC_3.0) [LSB] 3717 _Unwind_GetGR(GCC_3.0) [LSB] 3718 _Unwind_GetIP(GCC_3.0) [LSB] 3719 _Unwind_GetLanguageSpecificData(GCC_3.0) [LSB] 3720 _Unwind_GetRegionStart(GCC_3.0) [LSB] 3721 _Unwind_GetTextRelBase(GCC_3.0) [LSB] 3722 _Unwind_RaiseException(GCC_3.0) [LSB] _Unwind_Resume(GCC_3.0) 3723 [LSB] _Unwind_Resume_or_Rethrow(GCC_3.3) [LSB] 3724 _Unwind_SetGR(GCC_3.0) [LSB] 3725 _Unwind_SetIP(GCC_3.0) [LSB] 3726 __________________________________________________________ 3727 3728 11.9. Data Definitions for libgcc_s 3729 3730 This section defines global identifiers and their values that 3731 are associated with interfaces contained in libgcc_s. These 3732 definitions are organized into groups that correspond to system 3733 headers. This convention is used as a convenience for the 3734 reader, and does not imply the existence of these headers, or 3735 their content. Where an interface is defined as requiring a 3736 particular system header file all of the data definitions for 3737 that system header file presented here shall be in effect. 3738 3739 This section gives data definitions to promote binary 3740 application portability, not to repeat source interface 3741 definitions available elsewhere. System providers and 3742 application developers should use this ABI to supplement - not 3743 to replace - source interface definition specifications. 3744 3745 This specification uses the ISO C (1999) C Language as the 3746 reference programming language, and data definitions are 3747 specified in ISO C format. The C language is used here as a 3748 convenient notation. Using a C language description of these 3749 data objects does not preclude their use by other programming 3750 languages. 3751 __________________________________________________________ 3752 3753 11.9.1. unwind.h 3754 3755 typedef _Unwind_Reason_Code(*_Unwind_Stop_Fn) (int version, 3756 _Unwind_Action actions, 3757 _Unwind_Exception_Class 3758 exceptionClass, 3759 struct _Unwind_Exception* 3760 exceptionObject, 3761 struct _Unwind_Context * 3762 context, 3763 void *stop_parameter); 3764 3765 typedef _Unwind_Reason_Code(*_Unwind_Trace_Fn) (struct _Unwind_Context *, 3766 void *); 3767 extern void _Unwind_DeleteException(struct _Unwind_Exception *); 3768 extern fde *_Unwind_Find_FDE(void *, struct dwarf_eh_base *); 3769 extern _Unwind_Ptr _Unwind_GetDataRelBase(struct _Unwind_Context *); 3770 extern _Unwind_Word _Unwind_GetGR(struct _Unwind_Context *, int); 3771 extern _Unwind_Ptr _Unwind_GetIP(struct _Unwind_Context *); 3772 extern _Unwind_Ptr _Unwind_GetLanguageSpecificData(struct _Unwind_Context 3773 *, unsigned int); 3774 extern _Unwind_Ptr _Unwind_GetRegionStart(struct _Unwind_Context *); 3775 extern _Unwind_Reason_Code _Unwind_RaiseException(struct _Unwind_Exception 3776 *); 3777 extern void _Unwind_SetIP(struct _Unwind_Context *, unsigned int); 3778 extern void _Unwind_Resume(struct _Unwind_Exception *); 3779 extern void _Unwind_SetGR(struct _Unwind_Context *, int, u_int64_t); 3780 extern _Unwind_Ptr _Unwind_GetTextRelBase(struct _Unwind_Context *); 3781 extern _Unwind_Ptr _Unwind_ForcedUnwind(struct _Unwind_Exception *, 3782 _Unwind_Stop_Fn, void *); 3783 extern _Unwind_Reason_Code _Unwind_Backtrace(_Unwind_Trace_Fn, void *); 3784 extern _Unwind_Reason_Code _Unwind_GetCFA(struct _Unwind_Context *); 3785 extern _Unwind_Reason_Code _Unwind_Resume_or_Rethrow(struct 3786 _Unwind_Exception *); 3787 extern void *_Unwind_FindEnclosingFunction(void *); 3788 __________________________________________________________ 3789 3790 11.10. Interface Definitions for libgcc_s 3791 3792 Table of Contents 3793 _Unwind_DeleteException -- private C++ error handling method 3794 _Unwind_Find_FDE -- private C++ error handling method 3795 _Unwind_ForcedUnwind -- private C++ error handling method 3796 _Unwind_GetDataRelBase -- private IA64 C++ error handling 3797 method 3798 3799 _Unwind_GetGR -- private C++ error handling method 3800 _Unwind_GetIP -- private C++ error handling method 3801 _Unwind_GetLanguageSpecificData -- private C++ error handling 3802 method 3803 3804 _Unwind_GetRegionStart -- private C++ error handling method 3805 _Unwind_GetTextRelBase -- private IA64 C++ error handling 3806 method 3807 3808 _Unwind_RaiseException -- private C++ error handling method 3809 _Unwind_Resume -- private C++ error handling method 3810 _Unwind_SetGR -- private C++ error handling method 3811 _Unwind_SetIP -- private C++ error handling method 3812 3813 The interfaces defined on the following pages are included in 3814 libgcc_s and are defined by this specification. Unless 3815 otherwise noted, these interfaces shall be included in the 3816 source standard. 3817 3818 Other interfaces listed in Section 11.8 shall behave as 3819 described in the referenced base document. For interfaces 3820 referencing LSB and not listed below, please see the generic 3821 part of the specification. 3822 3823 _Unwind_DeleteException 3824 3825 Name 3826 3827 _Unwind_DeleteException -- private C++ error handling method 3828 3829 Synopsis 3830 3831 void _Unwind_DeleteException(struct _Unwind_Exception * 3832 object); 3833 3834 Description 3835 3836 _Unwind_DeleteException() deletes the given exception object. 3837 If a given runtime resumes normal execution after catching a 3838 foreign exception, it will not know how to delete that 3839 exception. Such an exception shall be deleted by calling 3840 _Unwind_DeleteException(). This is a convenience function that 3841 calls the function pointed to by the exception_cleanup field of 3842 the exception header. 3843 3844 _Unwind_Find_FDE 3845 3846 Name 3847 3848 _Unwind_Find_FDE -- private C++ error handling method 3849 3850 Synopsis 3851 3852 fde * _Unwind_Find_FDE(void * pc, struct dwarf_eh_bases * 3853 bases); 3854 3855 Description 3856 3857 _Unwind_Find_FDE() looks for the object containing pc, then 3858 inserts into bases. 3859 3860 _Unwind_ForcedUnwind 3861 3862 Name 3863 3864 _Unwind_ForcedUnwind -- private C++ error handling method 3865 3866 Synopsis 3867 3868 _Unwind_Reason_Code _Unwind_ForcedUnwind(struct 3869 _Unwind_Exception * object, _Unwind_Stop_Fn stop, void * 3870 stop_parameter); 3871 3872 Description 3873 3874 _Unwind_ForcedUnwind() raises an exception for forced 3875 unwinding, passing along the given exception object, which 3876 should have its exception_class and exception_cleanup fields 3877 set. The exception object has been allocated by the 3878 language-specific runtime, and has a language-specific format, 3879 except that it shall contain an _Unwind_Exception struct. 3880 3881 Forced unwinding is a single-phase process. stop and 3882 stop_parameter control the termination of the unwind process 3883 instead of the usual personality routine query. stop is called 3884 for each unwind frame, with the parameteres described for the 3885 usual personality routine below, plus an additional 3886 stop_parameter. 3887 3888 Return Value 3889 3890 When stop identifies the destination frame, it transfers 3891 control to the user code as appropriate without returning, 3892 normally after calling _Unwind_DeleteException(). If not, then 3893 it should return an _Unwind_Reason_Code value. 3894 3895 If stop returns any reason code other than _URC_NO_REASON, then 3896 the stack state is indeterminate from the point of view of the 3897 caller of _Unwind_ForcedUnwind(). Rather than attempt to 3898 return, therefore, the unwind library should use the 3899 exception_cleanup entry in the exception, and then call 3900 abort(). 3901 3902 _URC_NO_REASON 3903 This is not the destination from. The unwind runtime 3904 will call frame's personality routine with the 3905 _UA_FORCE_UNWIND and _UA_CLEANUP_PHASE flag set in 3906 actions, and then unwind to the next frame and call the 3907 stop() function again. 3908 3909 _URC_END_OF_STACK 3910 In order to allow _Unwind_ForcedUnwind() to perform 3911 special processing when it reaches the end of the stack, 3912 the unwind runtime will call it after the last frame is 3913 rejected, with a NULL stack pointer in the context, and 3914 the stop() function shall catch this condition. It may 3915 return this code if it cannot handle end-of-stack. 3916 3917 _URC_FATAL_PHASE2_ERROR 3918 The stop() function may return this code for other fatal 3919 conditions like stack corruption. 3920 3921 _Unwind_GetDataRelBase 3922 3923 Name 3924 3925 _Unwind_GetDataRelBase -- private IA64 C++ error handling 3926 method 3927 3928 Synopsis 3929 3930 _Unwind_Ptr _Unwind_GetDataRelBase(struct _Unwind_Context * 3931 context); 3932 3933 Description 3934 3935 _Unwind_GetDataRelBase() returns the global pointer in register 3936 one for context. 3937 3938 _Unwind_GetGR 3939 3940 Name 3941 3942 _Unwind_GetGR -- private C++ error handling method 3943 3944 Synopsis 3945 3946 _Unwind_Word _Unwind_GetGR(struct _Unwind_Context * context, 3947 int index); 3948 3949 Description 3950 3951 _Unwind_GetGR() returns data at index found in context. The 3952 register is identified by its index: 0 to 31 are for the fixed 3953 registers, and 32 to 127 are for the stacked registers. 3954 3955 During the two phases of unwinding, only GR1 has a guaranteed 3956 value, which is the global pointer of the frame referenced by 3957 the unwind context. If the register has its NAT bit set, the 3958 behavior is unspecified. 3959 3960 _Unwind_GetIP 3961 3962 Name 3963 3964 _Unwind_GetIP -- private C++ error handling method 3965 3966 Synopsis 3967 3968 _Unwind_Ptr _Unwind_GetIP(struct _Unwind_Context * context); 3969 3970 Description 3971 3972 _Unwind_GetIP() returns the instruction pointer value for the 3973 routine identified by the unwind context. 3974 3975 _Unwind_GetLanguageSpecificData 3976 3977 Name 3978 3979 _Unwind_GetLanguageSpecificData -- private C++ error handling 3980 method 3981 3982 Synopsis 3983 3984 _Unwind_Ptr _Unwind_GetLanguageSpecificData(struct 3985 _Unwind_Context * context, uint value); 3986 3987 Description 3988 3989 _Unwind_GetLanguageSpecificData() returns the address of the 3990 language specific data area for the current stack frame. 3991 3992 _Unwind_GetRegionStart 3993 3994 Name 3995 3996 _Unwind_GetRegionStart -- private C++ error handling method 3997 3998 Synopsis 3999 4000 _Unwind_Ptr _Unwind_GetRegionStart(struct _Unwind_Context * 4001 context); 4002 4003 Description 4004 4005 _Unwind_GetRegionStart() routine returns the address (i.e., 0) 4006 of the beginning of the procedure or code fragment described by 4007 the current unwind descriptor block. 4008 4009 _Unwind_GetTextRelBase 4010 4011 Name 4012 4013 _Unwind_GetTextRelBase -- private IA64 C++ error handling 4014 method 4015 4016 Synopsis 4017 4018 _Unwind_Ptr _Unwind_GetTextRelBase(struct _Unwind_Context * 4019 context); 4020 4021 Description 4022 4023 _Unwind_GetTextRelBase() calls the abort method, then returns. 4024 4025 _Unwind_RaiseException 4026 4027 Name 4028 4029 _Unwind_RaiseException -- private C++ error handling method 4030 4031 Synopsis 4032 4033 _Unwind_Reason_Code _Unwind_RaiseException(struct 4034 _Unwind_Exception * object); 4035 4036 Description 4037 4038 _Unwind_RaiseException() raises an exception, passing along the 4039 given exception object, which should have its exception_class 4040 and exception_cleanup fields set. The exception object has been 4041 allocated by the language-specific runtime, and has a 4042 language-specific format, exception that it shall contain an 4043 _Unwind_Exception. 4044 4045 Return Value 4046 4047 _Unwind_RaiseException() does not return unless an error 4048 condition is found. If an error condition occurs, an 4049 _Unwind_Reason_Code is returnd: 4050 4051 _URC_END_OF_STACK 4052 The unwinder encountered the end of the stack during 4053 phase one without finding a handler. The unwind runtime 4054 will not have modified the stack. The C++ runtime will 4055 normally call uncaught_exception() in this case. 4056 4057 _URC_FATAL_PHASE1_ERROR 4058 The unwinder encountered an unexpected error during 4059 phase one, because of something like stack corruption. 4060 The unwind runtime will not have modified the stack. The 4061 C++ runtime will normally call terminate() in this case. 4062 4063 _URC_FATAL_PHASE2_ERROR 4064 The unwinder encountered an unexpected error during 4065 phase two. This is usually a throw, which will call 4066 terminate(). 4067 4068 _Unwind_Resume 4069 4070 Name 4071 4072 _Unwind_Resume -- private C++ error handling method 4073 4074 Synopsis 4075 4076 void _Unwind_Resume(struct _Unwind_Exception * object); 4077 4078 Description 4079 4080 _Unwind_Resume() resumes propagation of an existing exception 4081 object. A call to this routine is inserted as the end of a 4082 landing pad that performs cleanup, but does not resume normal 4083 execution. It causes unwinding to proceed further. 4084 4085 _Unwind_SetGR 4086 4087 Name 4088 4089 _Unwind_SetGR -- private C++ error handling method 4090 4091 Synopsis 4092 4093 void _Unwind_SetGR(struct _Unwind_Context * context, int index, 4094 uint value); 4095 4096 Description 4097 4098 _Unwind_SetGR() sets the value of the register indexed for the 4099 routine identified by the unwind context. 4100 4101 _Unwind_SetIP 4102 4103 Name 4104 4105 _Unwind_SetIP -- private C++ error handling method 4106 4107 Synopsis 4108 4109 void _Unwind_SetIP(struct _Unwind_Context * context, uint 4110 value); 4111 4112 Description 4113 4114 _Unwind_SetIP() sets the value of the instruction pointer for 4115 the routine identified by the unwind context 4116 __________________________________________________________ 4117 4118 11.11. Interfaces for libdl 4119 4120 Table 11-45 defines the library name and shared object name for 4121 the libdl library 4122 4123 Table 11-45. libdl Definition 4124 Library: libdl 4125 SONAME: libdl.so.2 4126 4127 The behavior of the interfaces in this library is specified by 4128 the following specifications: 4129 4130 [LSB] ISO/IEC 23360 Part 1 4131 [SUSv3] ISO POSIX (2003) 4132 __________________________________________________________ 4133 4134 11.11.1. Dynamic Loader 4135 __________________________________________________________ 4136 4137 11.11.1.1. Interfaces for Dynamic Loader 4138 4139 An LSB conforming implementation shall provide the architecture 4140 specific functions for Dynamic Loader specified in Table 11-46, 4141 with the full mandatory functionality as described in the 4142 referenced underlying specification. 4143 4144 Table 11-46. libdl - Dynamic Loader Function Interfaces 4145 dladdr(GLIBC_2.2) [LSB] dlclose(GLIBC_2.2) [SUSv3] 4146 dlerror(GLIBC_2.2) [SUSv3] dlopen(GLIBC_2.2) [LSB] 4147 dlsym(GLIBC_2.2) [LSB] 4148 __________________________________________________________ 4149 4150 11.12. Data Definitions for libdl 4151 4152 This section defines global identifiers and their values that 4153 are associated with interfaces contained in libdl. These 4154 definitions are organized into groups that correspond to system 4155 headers. This convention is used as a convenience for the 4156 reader, and does not imply the existence of these headers, or 4157 their content. Where an interface is defined as requiring a 4158 particular system header file all of the data definitions for 4159 that system header file presented here shall be in effect. 4160 4161 This section gives data definitions to promote binary 4162 application portability, not to repeat source interface 4163 definitions available elsewhere. System providers and 4164 application developers should use this ABI to supplement - not 4165 to replace - source interface definition specifications. 4166 4167 This specification uses the ISO C (1999) C Language as the 4168 reference programming language, and data definitions are 4169 specified in ISO C format. The C language is used here as a 4170 convenient notation. Using a C language description of these 4171 data objects does not preclude their use by other programming 4172 languages. 4173 __________________________________________________________ 4174 4175 11.12.1. dlfcn.h 4176 4177 /* 4178 * This header is architecture neutral 4179 * Please refer to the generic specification for details 4180 */ 4181 __________________________________________________________ 4182 4183 11.13. Interfaces for libcrypt 4184 4185 Table 11-47 defines the library name and shared object name for 4186 the libcrypt library 4187 4188 Table 11-47. libcrypt Definition 4189 Library: libcrypt 4190 SONAME: libcrypt.so.1 4191 4192 The behavior of the interfaces in this library is specified by 4193 the following specifications: 4194 4195 [SUSv3] ISO POSIX (2003) 4196 __________________________________________________________ 4197 4198 11.13.1. Encryption 4199 __________________________________________________________ 4200 4201 11.13.1.1. Interfaces for Encryption 4202 4203 An LSB conforming implementation shall provide the architecture 4204 specific functions for Encryption specified in Table 11-48, 4205 with the full mandatory functionality as described in the 4206 referenced underlying specification. 4207 4208 Table 11-48. libcrypt - Encryption Function Interfaces 4209 crypt(GLIBC_2.2) [SUSv3] encrypt(GLIBC_2.2) [SUSv3] 4210 setkey(GLIBC_2.2) [SUSv3] 4211 4212 IV. Utility Libraries 4213 4214 Table of Contents 4215 12. Libraries 4216 4217 12.1. Interfaces for libz 4218 4219 12.1.1. Compression Library 4220 4221 12.2. Data Definitions for libz 4222 4223 12.2.1. zlib.h 4224 4225 12.3. Interfaces for libncurses 4226 4227 12.3.1. Curses 4228 4229 12.4. Data Definitions for libncurses 4230 4231 12.4.1. curses.h 4232 4233 12.5. Interfaces for libutil 4234 4235 12.5.1. Utility Functions 4236 __________________________________________________________ 4237 4238 Chapter 12. Libraries 4239 4240 An LSB-conforming implementation shall also support some 4241 utility libraries which are built on top of the interfaces 4242 provided by the base libraries. These libraries implement 4243 common functionality, and hide additional system dependent 4244 information such as file formats and device names. 4245 __________________________________________________________ 4246 4247 12.1. Interfaces for libz 4248 4249 Table 12-1 defines the library name and shared object name for 4250 the libz library 4251 4252 Table 12-1. libz Definition 4253 Library: libz 4254 SONAME: libz.so.1 4255 __________________________________________________________ 4256 4257 12.1.1. Compression Library 4258 __________________________________________________________ 4259 4260 12.1.1.1. Interfaces for Compression Library 4261 4262 No external functions are defined for libz - Compression 4263 Library in this part of the specification. See also the generic 4264 specification. 4265 __________________________________________________________ 4266 4267 12.2. Data Definitions for libz 4268 4269 This section defines global identifiers and their values that 4270 are associated with interfaces contained in libz. These 4271 definitions are organized into groups that correspond to system 4272 headers. This convention is used as a convenience for the 4273 reader, and does not imply the existence of these headers, or 4274 their content. Where an interface is defined as requiring a 4275 particular system header file all of the data definitions for 4276 that system header file presented here shall be in effect. 4277 4278 This section gives data definitions to promote binary 4279 application portability, not to repeat source interface 4280 definitions available elsewhere. System providers and 4281 application developers should use this ABI to supplement - not 4282 to replace - source interface definition specifications. 4283 4284 This specification uses the ISO C (1999) C Language as the 4285 reference programming language, and data definitions are 4286 specified in ISO C format. The C language is used here as a 4287 convenient notation. Using a C language description of these 4288 data objects does not preclude their use by other programming 4289 languages. 4290 __________________________________________________________ 4291 4292 12.2.1. zlib.h 4293 4294 /* 4295 * This header is architecture neutral 4296 * Please refer to the generic specification for details 4297 */ 4298 __________________________________________________________ 4299 4300 12.3. Interfaces for libncurses 4301 4302 Table 12-2 defines the library name and shared object name for 4303 the libncurses library 4304 4305 Table 12-2. libncurses Definition 4306 Library: libncurses 4307 SONAME: libncurses.so.5 4308 __________________________________________________________ 4309 4310 12.3.1. Curses 4311 __________________________________________________________ 4312 4313 12.3.1.1. Interfaces for Curses 4314 4315 No external functions are defined for libncurses - Curses in 4316 this part of the specification. See also the generic 4317 specification. 4318 __________________________________________________________ 4319 4320 12.4. Data Definitions for libncurses 4321 4322 This section defines global identifiers and their values that 4323 are associated with interfaces contained in libncurses. These 4324 definitions are organized into groups that correspond to system 4325 headers. This convention is used as a convenience for the 4326 reader, and does not imply the existence of these headers, or 4327 their content. Where an interface is defined as requiring a 4328 particular system header file all of the data definitions for 4329 that system header file presented here shall be in effect. 4330 4331 This section gives data definitions to promote binary 4332 application portability, not to repeat source interface 4333 definitions available elsewhere. System providers and 4334 application developers should use this ABI to supplement - not 4335 to replace - source interface definition specifications. 4336 4337 This specification uses the ISO C (1999) C Language as the 4338 reference programming language, and data definitions are 4339 specified in ISO C format. The C language is used here as a 4340 convenient notation. Using a C language description of these 4341 data objects does not preclude their use by other programming 4342 languages. 4343 __________________________________________________________ 4344 4345 12.4.1. curses.h 4346 4347 /* 4348 * This header is architecture neutral 4349 * Please refer to the generic specification for details 4350 */ 4351 __________________________________________________________ 4352 4353 12.5. Interfaces for libutil 4354 4355 Table 12-3 defines the library name and shared object name for 4356 the libutil library 4357 4358 Table 12-3. libutil Definition 4359 Library: libutil 4360 SONAME: libutil.so.1 4361 4362 The behavior of the interfaces in this library is specified by 4363 the following specifications: 4364 4365 [LSB] ISO/IEC 23360 Part 1 4366 __________________________________________________________ 4367 4368 12.5.1. Utility Functions 4369 __________________________________________________________ 4370 4371 12.5.1.1. Interfaces for Utility Functions 4372 4373 An LSB conforming implementation shall provide the architecture 4374 specific functions for Utility Functions specified in Table 4375 12-4, with the full mandatory functionality as described in the 4376 referenced underlying specification. 4377 4378 Table 12-4. libutil - Utility Functions Function Interfaces 4379 forkpty(GLIBC_2.2) [LSB] login(GLIBC_2.2) [LSB] 4380 login_tty(GLIBC_2.2) [LSB] logout(GLIBC_2.2) [LSB] 4381 logwtmp(GLIBC_2.2) [LSB] openpty(GLIBC_2.2) [LSB] 4382 4383 V. Package Format and Installation 4384 4385 Table of Contents 4386 13. Software Installation 4387 4388 13.1. Package Dependencies 4389 13.2. Package Architecture Considerations 4390 __________________________________________________________ 4391 4392 Chapter 13. Software Installation 4393 __________________________________________________________ 4394 4395 13.1. Package Dependencies 4396 4397 The LSB runtime environment shall provde the following 4398 dependencies. 4399 4400 lsb-core-s390x 4401 4402 This dependency is used to indicate that the application is 4403 dependent on features contained in the LSB-Core specification. 4404 4405 This dependency shall have a version of 3.0. 4406 4407 Other LSB modules may add additional dependencies; such 4408 dependencies shall have the format lsb-module-s390x. 4409 __________________________________________________________ 4410 4411 13.2. Package Architecture Considerations 4412 4413 All packages must specify an architecture of s390x. A LSB 4414 runtime environment must accept an architecture of s390 even if 4415 the native architecture is different. 4416 4417 The archnum value in the Lead Section shall be 0x000E. 4418 __________________________________________________________ 4419 4420 Appendix A. Alphabetical Listing of Interfaces 4421 __________________________________________________________ 4422 4423 A.1. libc 4424 4425 The behavior of the interfaces in this library is specified by 4426 the following Standards. 4427 4428 Large File Support [LFS] 4429 ISO/IEC 23360 Part 1 [LSB] 4430 SUSv2 [SUSv2] 4431 ISO POSIX (2003) [SUSv3] 4432 SVID Issue 3 [SVID.3] 4433 SVID Issue 4 [SVID.4] 4434 4435 Table A-1. libc Function Interfaces 4436 _Exit(GLIBC_2.2)[SUSv3] getsid(GLIBC_2.2)[SUSv3] 4437 setutent(GLIBC_2.2)[LSB] 4438 _IO_feof(GLIBC_2.2)[LSB] getsockname(GLIBC_2.2)[SUSv3] 4439 setutxent(GLIBC_2.2)[SUSv3] 4440 _IO_getc(GLIBC_2.2)[LSB] getsockopt(GLIBC_2.2)[LSB] 4441 setvbuf(GLIBC_2.2)[SUSv3] 4442 _IO_putc(GLIBC_2.2)[LSB] getsubopt(GLIBC_2.2)[SUSv3] 4443 shmat(GLIBC_2.2)[SUSv3] 4444 _IO_puts(GLIBC_2.2)[LSB] gettext(GLIBC_2.2)[LSB] 4445 shmctl(GLIBC_2.2)[SUSv3] 4446 __assert_fail(GLIBC_2.2)[LSB] gettimeofday(GLIBC_2.2)[SUSv3] 4447 shmdt(GLIBC_2.2)[SUSv3] 4448 __ctype_get_mb_cur_max(GLIBC_2.2)[LSB] getuid(GLIBC_2.2)[SUSv3] 4449 shmget(GLIBC_2.2)[SUSv3] 4450 __cxa_atexit(GLIBC_2.2)[LSB] getutent(GLIBC_2.2)[LSB] 4451 shutdown(GLIBC_2.2)[SUSv3] 4452 __cxa_finalize(GLIBC_2.2)[LSB] getutent_r(GLIBC_2.2)[LSB] 4453 sigaction(GLIBC_2.2)[SUSv3] 4454 __errno_location(GLIBC_2.2)[LSB] getutxent(GLIBC_2.2)[SUSv3] 4455 sigaddset(GLIBC_2.2)[SUSv3] 4456 __fpending(GLIBC_2.2)[LSB] getutxid(GLIBC_2.2)[SUSv3] 4457 sigaltstack(GLIBC_2.2)[SUSv3] 4458 __fxstat(GLIBC_2.2)[LSB] getutxline(GLIBC_2.2)[SUSv3] 4459 sigandset(GLIBC_2.2)[LSB] 4460 __fxstat64(GLIBC_2.2)[LSB] getw(GLIBC_2.2)[SUSv2] 4461 sigdelset(GLIBC_2.2)[SUSv3] 4462 __getpagesize(GLIBC_2.2)[LSB] getwc(GLIBC_2.2)[SUSv3] 4463 sigemptyset(GLIBC_2.2)[SUSv3] 4464 __getpgid(GLIBC_2.2)[LSB] getwchar(GLIBC_2.2)[SUSv3] 4465 sigfillset(GLIBC_2.2)[SUSv3] 4466 __h_errno_location(GLIBC_2.2)[LSB] getwd(GLIBC_2.2)[SUSv3] 4467 sighold(GLIBC_2.2)[SUSv3] 4468 __isinf(GLIBC_2.2)[LSB] glob(GLIBC_2.2)[SUSv3] 4469 sigignore(GLIBC_2.2)[SUSv3] 4470 __isinff(GLIBC_2.2)[LSB] glob64(GLIBC_2.2)[LSB] 4471 siginterrupt(GLIBC_2.2)[SUSv3] 4472 __isinfl(GLIBC_2.2)[LSB] globfree(GLIBC_2.2)[SUSv3] 4473 sigisemptyset(GLIBC_2.2)[LSB] 4474 __isnan(GLIBC_2.2)[LSB] globfree64(GLIBC_2.2)[LSB] 4475 sigismember(GLIBC_2.2)[SUSv3] 4476 __isnanf(GLIBC_2.2)[LSB] gmtime(GLIBC_2.2)[SUSv3] 4477 siglongjmp(GLIBC_2.2)[SUSv3] 4478 __isnanl(GLIBC_2.2)[LSB] gmtime_r(GLIBC_2.2)[SUSv3] 4479 signal(GLIBC_2.2)[SUSv3] 4480 __libc_current_sigrtmax(GLIBC_2.2)[LSB] 4481 grantpt(GLIBC_2.2)[SUSv3] sigorset(GLIBC_2.2)[LSB] 4482 __libc_current_sigrtmin(GLIBC_2.2)[LSB] 4483 hcreate(GLIBC_2.2)[SUSv3] sigpause(GLIBC_2.2)[LSB] 4484 __libc_start_main(GLIBC_2.2)[LSB] hdestroy(GLIBC_2.2)[SUSv3] 4485 sigpending(GLIBC_2.2)[SUSv3] 4486 __lxstat(GLIBC_2.2)[LSB] hsearch(GLIBC_2.2)[SUSv3] 4487 sigprocmask(GLIBC_2.2)[SUSv3] 4488 __lxstat64(GLIBC_2.2)[LSB] htonl(GLIBC_2.2)[SUSv3] 4489 sigqueue(GLIBC_2.2)[SUSv3] 4490 __mempcpy(GLIBC_2.2)[LSB] htons(GLIBC_2.2)[SUSv3] 4491 sigrelse(GLIBC_2.2)[SUSv3] 4492 __rawmemchr(GLIBC_2.2)[LSB] iconv(GLIBC_2.2)[SUSv3] 4493 sigreturn(GLIBC_2.2)[LSB] 4494 __sigsetjmp(GLIBC_2.2)[LSB] iconv_close(GLIBC_2.2)[SUSv3] 4495 sigset(GLIBC_2.2)[SUSv3] 4496 __stpcpy(GLIBC_2.2)[LSB] iconv_open(GLIBC_2.2)[SUSv3] 4497 sigsuspend(GLIBC_2.2)[SUSv3] 4498 __strdup(GLIBC_2.2)[LSB] if_freenameindex(GLIBC_2.2)[SUSv3] 4499 sigtimedwait(GLIBC_2.2)[SUSv3] 4500 __strtod_internal(GLIBC_2.2)[LSB] 4501 if_indextoname(GLIBC_2.2)[SUSv3] sigwait(GLIBC_2.2)[SUSv3] 4502 __strtof_internal(GLIBC_2.2)[LSB] 4503 if_nameindex(GLIBC_2.2)[SUSv3] sigwaitinfo(GLIBC_2.2)[SUSv3] 4504 __strtok_r(GLIBC_2.2)[LSB] if_nametoindex(GLIBC_2.2)[SUSv3] 4505 sleep(GLIBC_2.2)[SUSv3] 4506 __strtol_internal(GLIBC_2.2)[LSB] imaxabs(GLIBC_2.2)[SUSv3] 4507 snprintf(GLIBC_2.2)[SUSv3] 4508 __strtold_internal(GLIBC_2.2)[LSB] imaxdiv(GLIBC_2.2)[SUSv3] 4509 sockatmark(GLIBC_2.2.4)[SUSv3] 4510 __strtoll_internal(GLIBC_2.2)[LSB] index(GLIBC_2.2)[SUSv3] 4511 socket(GLIBC_2.2)[SUSv3] 4512 __strtoul_internal(GLIBC_2.2)[LSB] inet_addr(GLIBC_2.2)[SUSv3] 4513 socketpair(GLIBC_2.2)[SUSv3] 4514 __strtoull_internal(GLIBC_2.2)[LSB] inet_aton(GLIBC_2.2)[LSB] 4515 sprintf(GLIBC_2.2)[SUSv3] 4516 __sysconf(GLIBC_2.2)[LSB] inet_ntoa(GLIBC_2.2)[SUSv3] 4517 srand(GLIBC_2.2)[SUSv3] 4518 __sysv_signal(GLIBC_2.2)[LSB] inet_ntop(GLIBC_2.2)[SUSv3] 4519 srand48(GLIBC_2.2)[SUSv3] 4520 __wcstod_internal(GLIBC_2.2)[LSB] inet_pton(GLIBC_2.2)[SUSv3] 4521 srandom(GLIBC_2.2)[SUSv3] 4522 __wcstof_internal(GLIBC_2.2)[LSB] initgroups(GLIBC_2.2)[LSB] 4523 sscanf(GLIBC_2.2)[LSB] 4524 __wcstol_internal(GLIBC_2.2)[LSB] initstate(GLIBC_2.2)[SUSv3] 4525 statfs(GLIBC_2.2)[LSB] 4526 __wcstold_internal(GLIBC_2.2)[LSB] insque(GLIBC_2.2)[SUSv3] 4527 statfs64(GLIBC_2.2)[LSB] 4528 __wcstoul_internal(GLIBC_2.2)[LSB] ioctl(GLIBC_2.2)[LSB] 4529 statvfs(GLIBC_2.2)[SUSv3] 4530 __xmknod(GLIBC_2.2)[LSB] isalnum(GLIBC_2.2)[SUSv3] 4531 statvfs64(GLIBC_2.2)[LFS] 4532 __xpg_basename(GLIBC_2.2)[LSB] isalpha(GLIBC_2.2)[SUSv3] 4533 stime(GLIBC_2.2)[LSB] 4534 __xpg_sigpause(GLIBC_2.2)[LSB] isascii(GLIBC_2.2)[SUSv3] 4535 stpcpy(GLIBC_2.2)[LSB] 4536 __xpg_strerror_r(GLIBC_2.3.4)[LSB] isatty(GLIBC_2.2)[SUSv3] 4537 stpncpy(GLIBC_2.2)[LSB] 4538 __xstat(GLIBC_2.2)[LSB] isblank(GLIBC_2.2)[SUSv3] 4539 strcasecmp(GLIBC_2.2)[SUSv3] 4540 __xstat64(GLIBC_2.2)[LSB] iscntrl(GLIBC_2.2)[SUSv3] 4541 strcasestr(GLIBC_2.2)[LSB] 4542 _exit(GLIBC_2.2)[SUSv3] isdigit(GLIBC_2.2)[SUSv3] 4543 strcat(GLIBC_2.2)[SUSv3] 4544 _longjmp(GLIBC_2.2)[SUSv3] isgraph(GLIBC_2.2)[SUSv3] 4545 strchr(GLIBC_2.2)[SUSv3] 4546 _setjmp(GLIBC_2.2)[SUSv3] islower(GLIBC_2.2)[SUSv3] 4547 strcmp(GLIBC_2.2)[SUSv3] 4548 _tolower(GLIBC_2.2)[SUSv3] isprint(GLIBC_2.2)[SUSv3] 4549 strcoll(GLIBC_2.2)[SUSv3] 4550 _toupper(GLIBC_2.2)[SUSv3] ispunct(GLIBC_2.2)[SUSv3] 4551 strcpy(GLIBC_2.2)[SUSv3] 4552 a64l(GLIBC_2.2)[SUSv3] isspace(GLIBC_2.2)[SUSv3] 4553 strcspn(GLIBC_2.2)[SUSv3] 4554 abort(GLIBC_2.2)[SUSv3] isupper(GLIBC_2.2)[SUSv3] 4555 strdup(GLIBC_2.2)[SUSv3] 4556 abs(GLIBC_2.2)[SUSv3] iswalnum(GLIBC_2.2)[SUSv3] 4557 strerror(GLIBC_2.2)[SUSv3] 4558 accept(GLIBC_2.2)[SUSv3] iswalpha(GLIBC_2.2)[SUSv3] 4559 strerror_r(GLIBC_2.2)[LSB] 4560 access(GLIBC_2.2)[SUSv3] iswblank(GLIBC_2.2)[SUSv3] 4561 strfmon(GLIBC_2.2)[SUSv3] 4562 acct(GLIBC_2.2)[LSB] iswcntrl(GLIBC_2.2)[SUSv3] 4563 strftime(GLIBC_2.2)[SUSv3] 4564 adjtime(GLIBC_2.2)[LSB] iswctype(GLIBC_2.2)[SUSv3] 4565 strlen(GLIBC_2.2)[SUSv3] 4566 alarm(GLIBC_2.2)[SUSv3] iswdigit(GLIBC_2.2)[SUSv3] 4567 strncasecmp(GLIBC_2.2)[SUSv3] 4568 asctime(GLIBC_2.2)[SUSv3] iswgraph(GLIBC_2.2)[SUSv3] 4569 strncat(GLIBC_2.2)[SUSv3] 4570 asctime_r(GLIBC_2.2)[SUSv3] iswlower(GLIBC_2.2)[SUSv3] 4571 strncmp(GLIBC_2.2)[SUSv3] 4572 asprintf(GLIBC_2.2)[LSB] iswprint(GLIBC_2.2)[SUSv3] 4573 strncpy(GLIBC_2.2)[SUSv3] 4574 atof(GLIBC_2.2)[SUSv3] iswpunct(GLIBC_2.2)[SUSv3] 4575 strndup(GLIBC_2.2)[LSB] 4576 atoi(GLIBC_2.2)[SUSv3] iswspace(GLIBC_2.2)[SUSv3] 4577 strnlen(GLIBC_2.2)[LSB] 4578 atol(GLIBC_2.2)[SUSv3] iswupper(GLIBC_2.2)[SUSv3] 4579 strpbrk(GLIBC_2.2)[SUSv3] 4580 atoll(GLIBC_2.2)[SUSv3] iswxdigit(GLIBC_2.2)[SUSv3] 4581 strptime(GLIBC_2.2)[LSB] 4582 authnone_create(GLIBC_2.2)[SVID.4] isxdigit(GLIBC_2.2)[SUSv3] 4583 strrchr(GLIBC_2.2)[SUSv3] 4584 basename(GLIBC_2.2)[LSB] jrand48(GLIBC_2.2)[SUSv3] 4585 strsep(GLIBC_2.2)[LSB] 4586 bcmp(GLIBC_2.2)[SUSv3] key_decryptsession(GLIBC_2.2)[SVID.3] 4587 strsignal(GLIBC_2.2)[LSB] 4588 bcopy(GLIBC_2.2)[SUSv3] kill(GLIBC_2.2)[LSB] 4589 strspn(GLIBC_2.2)[SUSv3] 4590 bind(GLIBC_2.2)[SUSv3] killpg(GLIBC_2.2)[SUSv3] 4591 strstr(GLIBC_2.2)[SUSv3] 4592 bind_textdomain_codeset(GLIBC_2.2)[LSB] l64a(GLIBC_2.2)[SUSv3] 4593 strtod(GLIBC_2.2)[SUSv3] 4594 bindresvport(GLIBC_2.2)[LSB] labs(GLIBC_2.2)[SUSv3] 4595 strtof(GLIBC_2.2)[SUSv3] 4596 bindtextdomain(GLIBC_2.2)[LSB] lchown(GLIBC_2.2)[SUSv3] 4597 strtoimax(GLIBC_2.2)[SUSv3] 4598 brk(GLIBC_2.2)[SUSv2] lcong48(GLIBC_2.2)[SUSv3] 4599 strtok(GLIBC_2.2)[SUSv3] 4600 bsd_signal(GLIBC_2.2)[SUSv3] ldiv(GLIBC_2.2)[SUSv3] 4601 strtok_r(GLIBC_2.2)[SUSv3] 4602 bsearch(GLIBC_2.2)[SUSv3] lfind(GLIBC_2.2)[SUSv3] 4603 strtol(GLIBC_2.2)[SUSv3] 4604 btowc(GLIBC_2.2)[SUSv3] link(GLIBC_2.2)[LSB] 4605 strtold(GLIBC_2.2)[SUSv3] 4606 bzero(GLIBC_2.2)[SUSv3] listen(GLIBC_2.2)[SUSv3] 4607 strtoll(GLIBC_2.2)[SUSv3] 4608 calloc(GLIBC_2.2)[SUSv3] llabs(GLIBC_2.2)[SUSv3] 4609 strtoq(GLIBC_2.2)[LSB] 4610 catclose(GLIBC_2.2)[SUSv3] lldiv(GLIBC_2.2)[SUSv3] 4611 strtoul(GLIBC_2.2)[SUSv3] 4612 catgets(GLIBC_2.2)[SUSv3] localeconv(GLIBC_2.2)[SUSv3] 4613 strtoull(GLIBC_2.2)[SUSv3] 4614 catopen(GLIBC_2.2)[SUSv3] localtime(GLIBC_2.2)[SUSv3] 4615 strtoumax(GLIBC_2.2)[SUSv3] 4616 cfgetispeed(GLIBC_2.2)[SUSv3] localtime_r(GLIBC_2.2)[SUSv3] 4617 strtouq(GLIBC_2.2)[LSB] 4618 cfgetospeed(GLIBC_2.2)[SUSv3] lockf(GLIBC_2.2)[SUSv3] 4619 strxfrm(GLIBC_2.2)[SUSv3] 4620 cfmakeraw(GLIBC_2.2)[LSB] lockf64(GLIBC_2.2)[LFS] 4621 svc_getreqset(GLIBC_2.2)[SVID.3] 4622 cfsetispeed(GLIBC_2.2)[SUSv3] longjmp(GLIBC_2.2)[SUSv3] 4623 svc_register(GLIBC_2.2)[LSB] 4624 cfsetospeed(GLIBC_2.2)[SUSv3] lrand48(GLIBC_2.2)[SUSv3] 4625 svc_run(GLIBC_2.2)[LSB] 4626 cfsetspeed(GLIBC_2.2)[LSB] lsearch(GLIBC_2.2)[SUSv3] 4627 svc_sendreply(GLIBC_2.2)[LSB] 4628 chdir(GLIBC_2.2)[SUSv3] lseek(GLIBC_2.2)[SUSv3] 4629 svcerr_auth(GLIBC_2.2)[SVID.3] 4630 chmod(GLIBC_2.2)[SUSv3] makecontext(GLIBC_2.2)[SUSv3] 4631 svcerr_decode(GLIBC_2.2)[SVID.3] 4632 chown(GLIBC_2.2)[SUSv3] malloc(GLIBC_2.2)[SUSv3] 4633 svcerr_noproc(GLIBC_2.2)[SVID.3] 4634 chroot(GLIBC_2.2)[SUSv2] mblen(GLIBC_2.2)[SUSv3] 4635 svcerr_noprog(GLIBC_2.2)[SVID.3] 4636 clearerr(GLIBC_2.2)[SUSv3] mbrlen(GLIBC_2.2)[SUSv3] 4637 svcerr_progvers(GLIBC_2.2)[SVID.3] 4638 clnt_create(GLIBC_2.2)[SVID.4] mbrtowc(GLIBC_2.2)[SUSv3] 4639 svcerr_systemerr(GLIBC_2.2)[SVID.3] 4640 clnt_pcreateerror(GLIBC_2.2)[SVID.4] mbsinit(GLIBC_2.2)[SUSv3] 4641 svcerr_weakauth(GLIBC_2.2)[SVID.3] 4642 clnt_perrno(GLIBC_2.2)[SVID.4] mbsnrtowcs(GLIBC_2.2)[LSB] 4643 svctcp_create(GLIBC_2.2)[LSB] 4644 clnt_perror(GLIBC_2.2)[SVID.4] mbsrtowcs(GLIBC_2.2)[SUSv3] 4645 svcudp_create(GLIBC_2.2)[LSB] 4646 clnt_spcreateerror(GLIBC_2.2)[SVID.4] 4647 mbstowcs(GLIBC_2.2)[SUSv3] swab(GLIBC_2.2)[SUSv3] 4648 clnt_sperrno(GLIBC_2.2)[SVID.4] mbtowc(GLIBC_2.2)[SUSv3] 4649 swapcontext(GLIBC_2.2)[SUSv3] 4650 clnt_sperror(GLIBC_2.2)[SVID.4] memccpy(GLIBC_2.2)[SUSv3] 4651 swprintf(GLIBC_2.2)[SUSv3] 4652 clock(GLIBC_2.2)[SUSv3] memchr(GLIBC_2.2)[SUSv3] 4653 swscanf(GLIBC_2.2)[LSB] 4654 close(GLIBC_2.2)[SUSv3] memcmp(GLIBC_2.2)[SUSv3] 4655 symlink(GLIBC_2.2)[SUSv3] 4656 closedir(GLIBC_2.2)[SUSv3] memcpy(GLIBC_2.2)[SUSv3] 4657 sync(GLIBC_2.2)[SUSv3] 4658 closelog(GLIBC_2.2)[SUSv3] memmem(GLIBC_2.2)[LSB] 4659 sysconf(GLIBC_2.2)[LSB] 4660 confstr(GLIBC_2.2)[SUSv3] memmove(GLIBC_2.2)[SUSv3] 4661 syslog(GLIBC_2.2)[SUSv3] 4662 connect(GLIBC_2.2)[SUSv3] memrchr(GLIBC_2.2)[LSB] 4663 system(GLIBC_2.2)[LSB] 4664 creat(GLIBC_2.2)[SUSv3] memset(GLIBC_2.2)[SUSv3] 4665 tcdrain(GLIBC_2.2)[SUSv3] 4666 creat64(GLIBC_2.2)[LFS] mkdir(GLIBC_2.2)[SUSv3] 4667 tcflow(GLIBC_2.2)[SUSv3] 4668 ctermid(GLIBC_2.2)[SUSv3] mkfifo(GLIBC_2.2)[SUSv3] 4669 tcflush(GLIBC_2.2)[SUSv3] 4670 ctime(GLIBC_2.2)[SUSv3] mkstemp(GLIBC_2.2)[SUSv3] 4671 tcgetattr(GLIBC_2.2)[SUSv3] 4672 ctime_r(GLIBC_2.2)[SUSv3] mkstemp64(GLIBC_2.2)[LFS] 4673 tcgetpgrp(GLIBC_2.2)[SUSv3] 4674 cuserid(GLIBC_2.2)[SUSv2] mktemp(GLIBC_2.2)[SUSv3] 4675 tcgetsid(GLIBC_2.2)[SUSv3] 4676 daemon(GLIBC_2.2)[LSB] mktime(GLIBC_2.2)[SUSv3] 4677 tcsendbreak(GLIBC_2.2)[SUSv3] 4678 dcgettext(GLIBC_2.2)[LSB] mlock(GLIBC_2.2)[SUSv3] 4679 tcsetattr(GLIBC_2.2)[SUSv3] 4680 dcngettext(GLIBC_2.2)[LSB] mlockall(GLIBC_2.2)[SUSv3] 4681 tcsetpgrp(GLIBC_2.2)[SUSv3] 4682 dgettext(GLIBC_2.2)[LSB] mmap(GLIBC_2.2)[SUSv3] 4683 tdelete(GLIBC_2.2)[SUSv3] 4684 difftime(GLIBC_2.2)[SUSv3] mmap64(GLIBC_2.2)[LFS] 4685 telldir(GLIBC_2.2)[SUSv3] 4686 dirname(GLIBC_2.2)[SUSv3] mprotect(GLIBC_2.2)[SUSv3] 4687 tempnam(GLIBC_2.2)[SUSv3] 4688 div(GLIBC_2.2)[SUSv3] mrand48(GLIBC_2.2)[SUSv3] 4689 textdomain(GLIBC_2.2)[LSB] 4690 dngettext(GLIBC_2.2)[LSB] mremap(GLIBC_2.2)[LSB] 4691 tfind(GLIBC_2.2)[SUSv3] 4692 drand48(GLIBC_2.2)[SUSv3] msgctl(GLIBC_2.2)[SUSv3] 4693 time(GLIBC_2.2)[SUSv3] 4694 dup(GLIBC_2.2)[SUSv3] msgget(GLIBC_2.2)[SUSv3] 4695 times(GLIBC_2.2)[SUSv3] 4696 dup2(GLIBC_2.2)[SUSv3] msgrcv(GLIBC_2.2)[SUSv3] 4697 tmpfile(GLIBC_2.2)[SUSv3] 4698 ecvt(GLIBC_2.2)[SUSv3] msgsnd(GLIBC_2.2)[SUSv3] 4699 tmpfile64(GLIBC_2.2)[LFS] 4700 endgrent(GLIBC_2.2)[SUSv3] msync(GLIBC_2.2)[SUSv3] 4701 tmpnam(GLIBC_2.2)[SUSv3] 4702 endprotoent(GLIBC_2.2)[SUSv3] munlock(GLIBC_2.2)[SUSv3] 4703 toascii(GLIBC_2.2)[SUSv3] 4704 endpwent(GLIBC_2.2)[SUSv3] munlockall(GLIBC_2.2)[SUSv3] 4705 tolower(GLIBC_2.2)[SUSv3] 4706 endservent(GLIBC_2.2)[SUSv3] munmap(GLIBC_2.2)[SUSv3] 4707 toupper(GLIBC_2.2)[SUSv3] 4708 endutent(GLIBC_2.2)[LSB] nanosleep(GLIBC_2.2)[SUSv3] 4709 towctrans(GLIBC_2.2)[SUSv3] 4710 endutxent(GLIBC_2.2)[SUSv3] nftw(GLIBC_2.3.3)[SUSv3] 4711 towlower(GLIBC_2.2)[SUSv3] 4712 erand48(GLIBC_2.2)[SUSv3] nftw64(GLIBC_2.3.3)[LFS] 4713 towupper(GLIBC_2.2)[SUSv3] 4714 err(GLIBC_2.2)[LSB] ngettext(GLIBC_2.2)[LSB] 4715 truncate(GLIBC_2.2)[SUSv3] 4716 error(GLIBC_2.2)[LSB] nice(GLIBC_2.2)[SUSv3] 4717 truncate64(GLIBC_2.2)[LFS] 4718 errx(GLIBC_2.2)[LSB] nl_langinfo(GLIBC_2.2)[SUSv3] 4719 tsearch(GLIBC_2.2)[SUSv3] 4720 execl(GLIBC_2.2)[SUSv3] nrand48(GLIBC_2.2)[SUSv3] 4721 ttyname(GLIBC_2.2)[SUSv3] 4722 execle(GLIBC_2.2)[SUSv3] ntohl(GLIBC_2.2)[SUSv3] 4723 ttyname_r(GLIBC_2.2)[SUSv3] 4724 execlp(GLIBC_2.2)[SUSv3] ntohs(GLIBC_2.2)[SUSv3] 4725 twalk(GLIBC_2.2)[SUSv3] 4726 execv(GLIBC_2.2)[SUSv3] open(GLIBC_2.2)[SUSv3] 4727 tzset(GLIBC_2.2)[SUSv3] 4728 execve(GLIBC_2.2)[SUSv3] opendir(GLIBC_2.2)[SUSv3] 4729 ualarm(GLIBC_2.2)[SUSv3] 4730 execvp(GLIBC_2.2)[SUSv3] openlog(GLIBC_2.2)[SUSv3] 4731 ulimit(GLIBC_2.2)[SUSv3] 4732 exit(GLIBC_2.2)[SUSv3] pathconf(GLIBC_2.2)[SUSv3] 4733 umask(GLIBC_2.2)[SUSv3] 4734 fchdir(GLIBC_2.2)[SUSv3] pause(GLIBC_2.2)[SUSv3] 4735 uname(GLIBC_2.2)[SUSv3] 4736 fchmod(GLIBC_2.2)[SUSv3] pclose(GLIBC_2.2)[SUSv3] 4737 ungetc(GLIBC_2.2)[SUSv3] 4738 fchown(GLIBC_2.2)[SUSv3] perror(GLIBC_2.2)[SUSv3] 4739 ungetwc(GLIBC_2.2)[SUSv3] 4740 fclose(GLIBC_2.2)[SUSv3] pipe(GLIBC_2.2)[SUSv3] 4741 unlink(GLIBC_2.2)[LSB] 4742 fcntl(GLIBC_2.2)[LSB] pmap_getport(GLIBC_2.2)[LSB] 4743 unlockpt(GLIBC_2.2)[SUSv3] 4744 fcvt(GLIBC_2.2)[SUSv3] pmap_set(GLIBC_2.2)[LSB] 4745 unsetenv(GLIBC_2.2)[SUSv3] 4746 fdatasync(GLIBC_2.2)[SUSv3] pmap_unset(GLIBC_2.2)[LSB] 4747 usleep(GLIBC_2.2)[SUSv3] 4748 fdopen(GLIBC_2.2)[SUSv3] poll(GLIBC_2.2)[SUSv3] 4749 utime(GLIBC_2.2)[SUSv3] 4750 feof(GLIBC_2.2)[SUSv3] popen(GLIBC_2.2)[SUSv3] 4751 utimes(GLIBC_2.2)[SUSv3] 4752 ferror(GLIBC_2.2)[SUSv3] posix_fadvise(GLIBC_2.2)[SUSv3] 4753 utmpname(GLIBC_2.2)[LSB] 4754 fflush(GLIBC_2.2)[SUSv3] posix_fadvise64(GLIBC_2.2)[LSB] 4755 vasprintf(GLIBC_2.2)[LSB] 4756 fflush_unlocked(GLIBC_2.2)[LSB] 4757 posix_fallocate(GLIBC_2.2)[SUSv3] vdprintf(GLIBC_2.2)[LSB] 4758 ffs(GLIBC_2.2)[SUSv3] posix_fallocate64(GLIBC_2.2)[LSB] 4759 verrx(GLIBC_2.2)[LSB] 4760 fgetc(GLIBC_2.2)[SUSv3] posix_madvise(GLIBC_2.2)[SUSv3] 4761 vfork(GLIBC_2.2)[SUSv3] 4762 fgetpos(GLIBC_2.2)[SUSv3] posix_memalign(GLIBC_2.2)[SUSv3] 4763 vfprintf(GLIBC_2.2)[SUSv3] 4764 fgetpos64(GLIBC_2.2)[LFS] posix_openpt(GLIBC_2.2.1)[SUSv3] 4765 vfscanf(GLIBC_2.2)[LSB] 4766 fgets(GLIBC_2.2)[SUSv3] posix_spawn(GLIBC_2.2)[SUSv3] 4767 vfwprintf(GLIBC_2.2)[SUSv3] 4768 fgetwc(GLIBC_2.2)[SUSv3] 4769 posix_spawn_file_actions_addclose(GLIBC_2.2)[SUSv3] 4770 vfwscanf(GLIBC_2.2)[LSB] 4771 fgetwc_unlocked(GLIBC_2.2)[LSB] 4772 posix_spawn_file_actions_adddup2(GLIBC_2.2)[SUSv3] 4773 vprintf(GLIBC_2.2)[SUSv3] 4774 fgetws(GLIBC_2.2)[SUSv3] 4775 posix_spawn_file_actions_addopen(GLIBC_2.2)[SUSv3] 4776 vscanf(GLIBC_2.2)[LSB] 4777 fileno(GLIBC_2.2)[SUSv3] 4778 posix_spawn_file_actions_destroy(GLIBC_2.2)[SUSv3] 4779 vsnprintf(GLIBC_2.2)[SUSv3] 4780 flock(GLIBC_2.2)[LSB] 4781 posix_spawn_file_actions_init(GLIBC_2.2)[SUSv3] 4782 vsprintf(GLIBC_2.2)[SUSv3] 4783 flockfile(GLIBC_2.2)[SUSv3] 4784 posix_spawnattr_destroy(GLIBC_2.2)[SUSv3] 4785 vsscanf(GLIBC_2.2)[LSB] 4786 fmtmsg(GLIBC_2.2)[SUSv3] 4787 posix_spawnattr_getflags(GLIBC_2.2)[SUSv3] 4788 vswprintf(GLIBC_2.2)[SUSv3] 4789 fnmatch(GLIBC_2.2.3)[SUSv3] 4790 posix_spawnattr_getpgroup(GLIBC_2.2)[SUSv3] 4791 vswscanf(GLIBC_2.2)[LSB] 4792 fopen(GLIBC_2.2)[SUSv3] 4793 posix_spawnattr_getschedparam(GLIBC_2.2)[SUSv3] 4794 vsyslog(GLIBC_2.2)[LSB] 4795 fopen64(GLIBC_2.2)[LFS] 4796 posix_spawnattr_getschedpolicy(GLIBC_2.2)[SUSv3] 4797 vwprintf(GLIBC_2.2)[SUSv3] 4798 fork(GLIBC_2.2)[SUSv3] 4799 posix_spawnattr_getsigdefault(GLIBC_2.2)[SUSv3] 4800 vwscanf(GLIBC_2.2)[LSB] 4801 fpathconf(GLIBC_2.2)[SUSv3] 4802 posix_spawnattr_getsigmask(GLIBC_2.2)[SUSv3] 4803 wait(GLIBC_2.2)[SUSv3] 4804 fprintf(GLIBC_2.2)[SUSv3] 4805 posix_spawnattr_init(GLIBC_2.2)[SUSv3] wait4(GLIBC_2.2)[LSB] 4806 fputc(GLIBC_2.2)[SUSv3] 4807 posix_spawnattr_setflags(GLIBC_2.2)[SUSv3] 4808 waitid(GLIBC_2.2)[SUSv3] 4809 fputs(GLIBC_2.2)[SUSv3] 4810 posix_spawnattr_setpgroup(GLIBC_2.2)[SUSv3] 4811 waitpid(GLIBC_2.2)[LSB] 4812 fputwc(GLIBC_2.2)[SUSv3] 4813 posix_spawnattr_setschedparam(GLIBC_2.2)[SUSv3] 4814 warn(GLIBC_2.2)[LSB] 4815 fputws(GLIBC_2.2)[SUSv3] 4816 posix_spawnattr_setschedpolicy(GLIBC_2.2)[SUSv3] 4817 warnx(GLIBC_2.2)[LSB] 4818 fread(GLIBC_2.2)[SUSv3] 4819 posix_spawnattr_setsigdefault(GLIBC_2.2)[SUSv3] 4820 wcpcpy(GLIBC_2.2)[LSB] 4821 free(GLIBC_2.2)[SUSv3] 4822 posix_spawnattr_setsigmask(GLIBC_2.2)[SUSv3] 4823 wcpncpy(GLIBC_2.2)[LSB] 4824 freeaddrinfo(GLIBC_2.2)[SUSv3] posix_spawnp(GLIBC_2.2)[SUSv3] 4825 wcrtomb(GLIBC_2.2)[SUSv3] 4826 freopen(GLIBC_2.2)[SUSv3] printf(GLIBC_2.2)[SUSv3] 4827 wcscasecmp(GLIBC_2.2)[LSB] 4828 freopen64(GLIBC_2.2)[LFS] pselect(GLIBC_2.2)[SUSv3] 4829 wcscat(GLIBC_2.2)[SUSv3] 4830 fscanf(GLIBC_2.2)[LSB] psignal(GLIBC_2.2)[LSB] 4831 wcschr(GLIBC_2.2)[SUSv3] 4832 fseek(GLIBC_2.2)[SUSv3] ptsname(GLIBC_2.2)[SUSv3] 4833 wcscmp(GLIBC_2.2)[SUSv3] 4834 fseeko(GLIBC_2.2)[SUSv3] putc(GLIBC_2.2)[SUSv3] 4835 wcscoll(GLIBC_2.2)[SUSv3] 4836 fseeko64(GLIBC_2.2)[LFS] putc_unlocked(GLIBC_2.2)[SUSv3] 4837 wcscpy(GLIBC_2.2)[SUSv3] 4838 fsetpos(GLIBC_2.2)[SUSv3] putchar(GLIBC_2.2)[SUSv3] 4839 wcscspn(GLIBC_2.2)[SUSv3] 4840 fsetpos64(GLIBC_2.2)[LFS] putchar_unlocked(GLIBC_2.2)[SUSv3] 4841 wcsdup(GLIBC_2.2)[LSB] 4842 fstatfs(GLIBC_2.2)[LSB] putenv(GLIBC_2.2)[SUSv3] 4843 wcsftime(GLIBC_2.2)[SUSv3] 4844 fstatfs64(GLIBC_2.2)[LSB] puts(GLIBC_2.2)[SUSv3] 4845 wcslen(GLIBC_2.2)[SUSv3] 4846 fstatvfs(GLIBC_2.2)[SUSv3] pututxline(GLIBC_2.2)[SUSv3] 4847 wcsncasecmp(GLIBC_2.2)[LSB] 4848 fstatvfs64(GLIBC_2.2)[LFS] putw(GLIBC_2.2)[SUSv2] 4849 wcsncat(GLIBC_2.2)[SUSv3] 4850 fsync(GLIBC_2.2)[SUSv3] putwc(GLIBC_2.2)[SUSv3] 4851 wcsncmp(GLIBC_2.2)[SUSv3] 4852 ftell(GLIBC_2.2)[SUSv3] putwchar(GLIBC_2.2)[SUSv3] 4853 wcsncpy(GLIBC_2.2)[SUSv3] 4854 ftello(GLIBC_2.2)[SUSv3] qsort(GLIBC_2.2)[SUSv3] 4855 wcsnlen(GLIBC_2.2)[LSB] 4856 ftello64(GLIBC_2.2)[LFS] raise(GLIBC_2.2)[SUSv3] 4857 wcsnrtombs(GLIBC_2.2)[LSB] 4858 ftime(GLIBC_2.2)[SUSv3] rand(GLIBC_2.2)[SUSv3] 4859 wcspbrk(GLIBC_2.2)[SUSv3] 4860 ftok(GLIBC_2.2)[SUSv3] rand_r(GLIBC_2.2)[SUSv3] 4861 wcsrchr(GLIBC_2.2)[SUSv3] 4862 ftruncate(GLIBC_2.2)[SUSv3] random(GLIBC_2.2)[SUSv3] 4863 wcsrtombs(GLIBC_2.2)[SUSv3] 4864 ftruncate64(GLIBC_2.2)[LFS] read(GLIBC_2.2)[SUSv3] 4865 wcsspn(GLIBC_2.2)[SUSv3] 4866 ftrylockfile(GLIBC_2.2)[SUSv3] readdir(GLIBC_2.2)[SUSv3] 4867 wcsstr(GLIBC_2.2)[SUSv3] 4868 ftw(GLIBC_2.2)[SUSv3] readdir64(GLIBC_2.2)[LFS] 4869 wcstod(GLIBC_2.2)[SUSv3] 4870 ftw64(GLIBC_2.2)[LFS] readdir64_r(GLIBC_2.2)[LSB] 4871 wcstof(GLIBC_2.2)[SUSv3] 4872 funlockfile(GLIBC_2.2)[SUSv3] readdir_r(GLIBC_2.2)[SUSv3] 4873 wcstoimax(GLIBC_2.2)[SUSv3] 4874 fwide(GLIBC_2.2)[SUSv3] readlink(GLIBC_2.2)[SUSv3] 4875 wcstok(GLIBC_2.2)[SUSv3] 4876 fwprintf(GLIBC_2.2)[SUSv3] readv(GLIBC_2.2)[SUSv3] 4877 wcstol(GLIBC_2.2)[SUSv3] 4878 fwrite(GLIBC_2.2)[SUSv3] realloc(GLIBC_2.2)[SUSv3] 4879 wcstold(GLIBC_2.2)[SUSv3] 4880 fwscanf(GLIBC_2.2)[LSB] realpath(GLIBC_2.3)[SUSv3] 4881 wcstoll(GLIBC_2.2)[SUSv3] 4882 gai_strerror(GLIBC_2.2)[SUSv3] recv(GLIBC_2.2)[SUSv3] 4883 wcstombs(GLIBC_2.2)[SUSv3] 4884 gcvt(GLIBC_2.2)[SUSv3] recvfrom(GLIBC_2.2)[SUSv3] 4885 wcstoq(GLIBC_2.2)[LSB] 4886 getaddrinfo(GLIBC_2.2)[SUSv3] recvmsg(GLIBC_2.2)[SUSv3] 4887 wcstoul(GLIBC_2.2)[SUSv3] 4888 getc(GLIBC_2.2)[SUSv3] regcomp(GLIBC_2.2)[SUSv3] 4889 wcstoull(GLIBC_2.2)[SUSv3] 4890 getc_unlocked(GLIBC_2.2)[SUSv3] regerror(GLIBC_2.2)[SUSv3] 4891 wcstoumax(GLIBC_2.2)[SUSv3] 4892 getchar(GLIBC_2.2)[SUSv3] regexec(GLIBC_2.3.4)[LSB] 4893 wcstouq(GLIBC_2.2)[LSB] 4894 getchar_unlocked(GLIBC_2.2)[SUSv3] regfree(GLIBC_2.2)[SUSv3] 4895 wcswcs(GLIBC_2.2)[SUSv3] 4896 getcontext(GLIBC_2.2)[SUSv3] remove(GLIBC_2.2)[SUSv3] 4897 wcswidth(GLIBC_2.2)[SUSv3] 4898 getcwd(GLIBC_2.2)[SUSv3] remque(GLIBC_2.2)[SUSv3] 4899 wcsxfrm(GLIBC_2.2)[SUSv3] 4900 getdate(GLIBC_2.2)[SUSv3] rename(GLIBC_2.2)[SUSv3] 4901 wctob(GLIBC_2.2)[SUSv3] 4902 getdomainname(GLIBC_2.2)[LSB] rewind(GLIBC_2.2)[SUSv3] 4903 wctomb(GLIBC_2.2)[SUSv3] 4904 getdtablesize(GLIBC_2.2)[LSB] rewinddir(GLIBC_2.2)[SUSv3] 4905 wctrans(GLIBC_2.2)[SUSv3] 4906 getegid(GLIBC_2.2)[SUSv3] rindex(GLIBC_2.2)[SUSv3] 4907 wctype(GLIBC_2.2)[SUSv3] 4908 getenv(GLIBC_2.2)[SUSv3] rmdir(GLIBC_2.2)[SUSv3] 4909 wcwidth(GLIBC_2.2)[SUSv3] 4910 geteuid(GLIBC_2.2)[SUSv3] sbrk(GLIBC_2.2)[SUSv2] 4911 wmemchr(GLIBC_2.2)[SUSv3] 4912 getgid(GLIBC_2.2)[SUSv3] scanf(GLIBC_2.2)[LSB] 4913 wmemcmp(GLIBC_2.2)[SUSv3] 4914 getgrent(GLIBC_2.2)[SUSv3] 4915 sched_get_priority_max(GLIBC_2.2)[SUSv3] 4916 wmemcpy(GLIBC_2.2)[SUSv3] 4917 getgrgid(GLIBC_2.2)[SUSv3] 4918 sched_get_priority_min(GLIBC_2.2)[SUSv3] 4919 wmemmove(GLIBC_2.2)[SUSv3] 4920 getgrgid_r(GLIBC_2.2)[SUSv3] sched_getparam(GLIBC_2.2)[SUSv3] 4921 wmemset(GLIBC_2.2)[SUSv3] 4922 getgrnam(GLIBC_2.2)[SUSv3] sched_getscheduler(GLIBC_2.2)[SUSv3] 4923 wordexp(GLIBC_2.2)[SUSv3] 4924 getgrnam_r(GLIBC_2.2)[SUSv3] 4925 sched_rr_get_interval(GLIBC_2.2)[SUSv3] 4926 wordfree(GLIBC_2.2)[SUSv3] 4927 getgrouplist(GLIBC_2.2.4)[LSB] sched_setparam(GLIBC_2.2)[SUSv3] 4928 wprintf(GLIBC_2.2)[SUSv3] 4929 getgroups(GLIBC_2.2)[SUSv3] sched_setscheduler(GLIBC_2.2)[LSB] 4930 write(GLIBC_2.2)[SUSv3] 4931 gethostbyaddr(GLIBC_2.2)[SUSv3] sched_yield(GLIBC_2.2)[SUSv3] 4932 writev(GLIBC_2.2)[SUSv3] 4933 gethostbyaddr_r(GLIBC_2.2)[LSB] seed48(GLIBC_2.2)[SUSv3] 4934 wscanf(GLIBC_2.2)[LSB] 4935 gethostbyname(GLIBC_2.2)[SUSv3] seekdir(GLIBC_2.2)[SUSv3] 4936 xdr_accepted_reply(GLIBC_2.2)[SVID.3] 4937 gethostbyname2(GLIBC_2.2)[LSB] select(GLIBC_2.2)[SUSv3] 4938 xdr_array(GLIBC_2.2)[SVID.3] 4939 gethostbyname2_r(GLIBC_2.2)[LSB] semctl(GLIBC_2.2)[SUSv3] 4940 xdr_bool(GLIBC_2.2)[SVID.3] 4941 gethostbyname_r(GLIBC_2.2)[LSB] semget(GLIBC_2.2)[SUSv3] 4942 xdr_bytes(GLIBC_2.2)[SVID.3] 4943 gethostid(GLIBC_2.2)[SUSv3] semop(GLIBC_2.2)[SUSv3] 4944 xdr_callhdr(GLIBC_2.2)[SVID.3] 4945 gethostname(GLIBC_2.2)[SUSv3] send(GLIBC_2.2)[SUSv3] 4946 xdr_callmsg(GLIBC_2.2)[SVID.3] 4947 getitimer(GLIBC_2.2)[SUSv3] sendmsg(GLIBC_2.2)[SUSv3] 4948 xdr_char(GLIBC_2.2)[SVID.3] 4949 getloadavg(GLIBC_2.2)[LSB] sendto(GLIBC_2.2)[SUSv3] 4950 xdr_double(GLIBC_2.2)[SVID.3] 4951 getlogin(GLIBC_2.2)[SUSv3] setbuf(GLIBC_2.2)[SUSv3] 4952 xdr_enum(GLIBC_2.2)[SVID.3] 4953 getlogin_r(GLIBC_2.2)[SUSv3] setbuffer(GLIBC_2.2)[LSB] 4954 xdr_float(GLIBC_2.2)[SVID.3] 4955 getnameinfo(GLIBC_2.2)[SUSv3] setcontext(GLIBC_2.2)[SUSv3] 4956 xdr_free(GLIBC_2.2)[SVID.3] 4957 getopt(GLIBC_2.2)[LSB] setegid(GLIBC_2.2)[SUSv3] 4958 xdr_int(GLIBC_2.2)[SVID.3] 4959 getopt_long(GLIBC_2.2)[LSB] setenv(GLIBC_2.2)[SUSv3] 4960 xdr_long(GLIBC_2.2)[SVID.3] 4961 getopt_long_only(GLIBC_2.2)[LSB] seteuid(GLIBC_2.2)[SUSv3] 4962 xdr_opaque(GLIBC_2.2)[SVID.3] 4963 getpagesize(GLIBC_2.2)[LSB] setgid(GLIBC_2.2)[SUSv3] 4964 xdr_opaque_auth(GLIBC_2.2)[SVID.3] 4965 getpeername(GLIBC_2.2)[SUSv3] setgrent(GLIBC_2.2)[SUSv3] 4966 xdr_pointer(GLIBC_2.2)[SVID.3] 4967 getpgid(GLIBC_2.2)[SUSv3] setgroups(GLIBC_2.2)[LSB] 4968 xdr_reference(GLIBC_2.2)[SVID.3] 4969 getpgrp(GLIBC_2.2)[SUSv3] sethostname(GLIBC_2.2)[LSB] 4970 xdr_rejected_reply(GLIBC_2.2)[SVID.3] 4971 getpid(GLIBC_2.2)[SUSv3] setitimer(GLIBC_2.2)[SUSv3] 4972 xdr_replymsg(GLIBC_2.2)[SVID.3] 4973 getppid(GLIBC_2.2)[SUSv3] setlocale(GLIBC_2.2)[SUSv3] 4974 xdr_short(GLIBC_2.2)[SVID.3] 4975 getpriority(GLIBC_2.2)[SUSv3] setlogmask(GLIBC_2.2)[SUSv3] 4976 xdr_string(GLIBC_2.2)[SVID.3] 4977 getprotobyname(GLIBC_2.2)[SUSv3] setpgid(GLIBC_2.2)[SUSv3] 4978 xdr_u_char(GLIBC_2.2)[SVID.3] 4979 getprotobynumber(GLIBC_2.2)[SUSv3] setpgrp(GLIBC_2.2)[SUSv3] 4980 xdr_u_int(GLIBC_2.2)[LSB] 4981 getprotoent(GLIBC_2.2)[SUSv3] setpriority(GLIBC_2.2)[SUSv3] 4982 xdr_u_long(GLIBC_2.2)[SVID.3] 4983 getpwent(GLIBC_2.2)[SUSv3] setprotoent(GLIBC_2.2)[SUSv3] 4984 xdr_u_short(GLIBC_2.2)[SVID.3] 4985 getpwnam(GLIBC_2.2)[SUSv3] setpwent(GLIBC_2.2)[SUSv3] 4986 xdr_union(GLIBC_2.2)[SVID.3] 4987 getpwnam_r(GLIBC_2.2)[SUSv3] setregid(GLIBC_2.2)[SUSv3] 4988 xdr_vector(GLIBC_2.2)[SVID.3] 4989 getpwuid(GLIBC_2.2)[SUSv3] setreuid(GLIBC_2.2)[SUSv3] 4990 xdr_void(GLIBC_2.2)[SVID.3] 4991 getpwuid_r(GLIBC_2.2)[SUSv3] setrlimit(GLIBC_2.2)[SUSv3] 4992 xdr_wrapstring(GLIBC_2.2)[SVID.3] 4993 getrlimit(GLIBC_2.2)[SUSv3] setrlimit64(GLIBC_2.2)[LFS] 4994 xdrmem_create(GLIBC_2.2)[SVID.3] 4995 getrlimit64(GLIBC_2.2)[LFS] setservent(GLIBC_2.2)[SUSv3] 4996 xdrrec_create(GLIBC_2.2)[SVID.3] 4997 getrusage(GLIBC_2.2)[SUSv3] setsid(GLIBC_2.2)[SUSv3] 4998 xdrrec_eof(GLIBC_2.2)[SVID.3] 4999 getservbyname(GLIBC_2.2)[SUSv3] setsockopt(GLIBC_2.2)[LSB] 5000 xdrstdio_create(GLIBC_2.2)[LSB] 5001 getservbyport(GLIBC_2.2)[SUSv3] setstate(GLIBC_2.2)[SUSv3] 5002 getservent(GLIBC_2.2)[SUSv3] setuid(GLIBC_2.2)[SUSv3] 5003 5004 Table A-2. libc Data Interfaces 5005 __daylight[LSB] __tzname[LSB] in6addr_loopback[SUSv3] 5006 __environ[LSB] _sys_errlist[LSB] 5007 __timezone[LSB] in6addr_any[SUSv3] 5008 __________________________________________________________ 5009 5010 A.2. libcrypt 5011 5012 The behavior of the interfaces in this library is specified by 5013 the following Standards. 5014 5015 ISO POSIX (2003) [SUSv3] 5016 5017 Table A-3. libcrypt Function Interfaces 5018 crypt(GLIBC_2.2)[SUSv3] encrypt(GLIBC_2.2)[SUSv3] 5019 setkey(GLIBC_2.2)[SUSv3] 5020 __________________________________________________________ 5021 5022 A.3. libdl 5023 5024 The behavior of the interfaces in this library is specified by 5025 the following Standards. 5026 5027 ISO/IEC 23360 Part 1 [LSB] 5028 ISO POSIX (2003) [SUSv3] 5029 5030 Table A-4. libdl Function Interfaces 5031 dladdr(GLIBC_2.2)[LSB] dlerror(GLIBC_2.2)[SUSv3] 5032 dlsym(GLIBC_2.2)[LSB] 5033 dlclose(GLIBC_2.2)[SUSv3] dlopen(GLIBC_2.2)[LSB] 5034 __________________________________________________________ 5035 5036 A.4. libgcc_s 5037 5038 The behavior of the interfaces in this library is specified by 5039 the following Standards. 5040 5041 ISO/IEC 23360 Part 1 [LSB] 5042 5043 Table A-5. libgcc_s Function Interfaces 5044 _Unwind_Backtrace(GCC_3.3)[LSB] 5045 _Unwind_GetDataRelBase(GCC_3.0)[LSB] 5046 _Unwind_RaiseException(GCC_3.0)[LSB] 5047 _Unwind_DeleteException(GCC_3.0)[LSB] 5048 _Unwind_GetGR(GCC_3.0)[LSB] _Unwind_Resume(GCC_3.0)[LSB] 5049 _Unwind_FindEnclosingFunction(GCC_3.3)[LSB] 5050 _Unwind_GetIP(GCC_3.0)[LSB] 5051 _Unwind_Resume_or_Rethrow(GCC_3.3)[LSB] 5052 _Unwind_Find_FDE(GCC_3.0)[LSB] 5053 _Unwind_GetLanguageSpecificData(GCC_3.0)[LSB] 5054 _Unwind_SetGR(GCC_3.0)[LSB] 5055 _Unwind_ForcedUnwind(GCC_3.0)[LSB] 5056 _Unwind_GetRegionStart(GCC_3.0)[LSB] 5057 _Unwind_SetIP(GCC_3.0)[LSB] 5058 _Unwind_GetCFA(GCC_3.3)[LSB] 5059 _Unwind_GetTextRelBase(GCC_3.0)[LSB] 5060 __________________________________________________________ 5061 5062 A.5. libm 5063 5064 The behavior of the interfaces in this library is specified by 5065 the following Standards. 5066 5067 ISO C (1999) [ISOC99] 5068 ISO/IEC 23360 Part 1 [LSB] 5069 ISO POSIX (2003) [SUSv3] 5070 SVID Issue 3 [SVID.3] 5071 5072 Table A-6. libm Function Interfaces 5073 __finite(GLIBC_2.2)[LSB] csinl(GLIBC_2.2)[SUSv3] 5074 llroundf(GLIBC_2.2)[SUSv3] 5075 __finitef(GLIBC_2.2)[LSB] csqrt(GLIBC_2.2)[SUSv3] 5076 llroundl(GLIBC_2.2)[SUSv3] 5077 __finitel(GLIBC_2.2)[LSB] csqrtf(GLIBC_2.2)[SUSv3] 5078 log(GLIBC_2.2)[SUSv3] 5079 __fpclassify(GLIBC_2.2)[LSB] csqrtl(GLIBC_2.2)[SUSv3] 5080 log10(GLIBC_2.2)[SUSv3] 5081 __fpclassifyf(GLIBC_2.2)[LSB] ctan(GLIBC_2.2)[SUSv3] 5082 log10f(GLIBC_2.2)[SUSv3] 5083 __signbit(GLIBC_2.2)[LSB] ctanf(GLIBC_2.2)[SUSv3] 5084 log10l(GLIBC_2.2)[SUSv3] 5085 __signbitf(GLIBC_2.2)[LSB] ctanh(GLIBC_2.2)[SUSv3] 5086 log1p(GLIBC_2.2)[SUSv3] 5087 acos(GLIBC_2.2)[SUSv3] ctanhf(GLIBC_2.2)[SUSv3] 5088 log1pf(GLIBC_2.2)[SUSv3] 5089 acosf(GLIBC_2.2)[SUSv3] ctanhl(GLIBC_2.2)[SUSv3] 5090 log1pl(GLIBC_2.2)[SUSv3] 5091 acosh(GLIBC_2.2)[SUSv3] ctanl(GLIBC_2.2)[SUSv3] 5092 log2(GLIBC_2.2)[SUSv3] 5093 acoshf(GLIBC_2.2)[SUSv3] drem(GLIBC_2.2)[LSB] 5094 log2f(GLIBC_2.2)[SUSv3] 5095 acoshl(GLIBC_2.2)[SUSv3] dremf(GLIBC_2.2)[LSB] 5096 log2l(GLIBC_2.2)[SUSv3] 5097 acosl(GLIBC_2.2)[SUSv3] dreml(GLIBC_2.2)[LSB] 5098 logb(GLIBC_2.2)[SUSv3] 5099 asin(GLIBC_2.2)[SUSv3] erf(GLIBC_2.2)[SUSv3] 5100 logbf(GLIBC_2.2)[SUSv3] 5101 asinf(GLIBC_2.2)[SUSv3] erfc(GLIBC_2.2)[SUSv3] 5102 logbl(GLIBC_2.2)[SUSv3] 5103 asinh(GLIBC_2.2)[SUSv3] erfcf(GLIBC_2.2)[SUSv3] 5104 logf(GLIBC_2.2)[SUSv3] 5105 asinhf(GLIBC_2.2)[SUSv3] erfcl(GLIBC_2.2)[SUSv3] 5106 logl(GLIBC_2.2)[SUSv3] 5107 asinhl(GLIBC_2.2)[SUSv3] erff(GLIBC_2.2)[SUSv3] 5108 lrint(GLIBC_2.2)[SUSv3] 5109 asinl(GLIBC_2.2)[SUSv3] erfl(GLIBC_2.2)[SUSv3] 5110 lrintf(GLIBC_2.2)[SUSv3] 5111 atan(GLIBC_2.2)[SUSv3] exp(GLIBC_2.2)[SUSv3] 5112 lrintl(GLIBC_2.2)[SUSv3] 5113 atan2(GLIBC_2.2)[SUSv3] exp10(GLIBC_2.2)[LSB] 5114 lround(GLIBC_2.2)[SUSv3] 5115 atan2f(GLIBC_2.2)[SUSv3] exp10f(GLIBC_2.2)[LSB] 5116 lroundf(GLIBC_2.2)[SUSv3] 5117 atan2l(GLIBC_2.2)[SUSv3] exp10l(GLIBC_2.2)[LSB] 5118 lroundl(GLIBC_2.2)[SUSv3] 5119 atanf(GLIBC_2.2)[SUSv3] exp2(GLIBC_2.2)[SUSv3] 5120 matherr(GLIBC_2.2)[SVID.3] 5121 atanh(GLIBC_2.2)[SUSv3] exp2f(GLIBC_2.2)[SUSv3] 5122 modf(GLIBC_2.2)[SUSv3] 5123 atanhf(GLIBC_2.2)[SUSv3] expf(GLIBC_2.2)[SUSv3] 5124 modff(GLIBC_2.2)[SUSv3] 5125 atanhl(GLIBC_2.2)[SUSv3] expl(GLIBC_2.2)[SUSv3] 5126 modfl(GLIBC_2.2)[SUSv3] 5127 atanl(GLIBC_2.2)[SUSv3] expm1(GLIBC_2.2)[SUSv3] 5128 nan(GLIBC_2.2)[SUSv3] 5129 cabs(GLIBC_2.2)[SUSv3] expm1f(GLIBC_2.2)[SUSv3] 5130 nanf(GLIBC_2.2)[SUSv3] 5131 cabsf(GLIBC_2.2)[SUSv3] expm1l(GLIBC_2.2)[SUSv3] 5132 nanl(GLIBC_2.2)[SUSv3] 5133 cabsl(GLIBC_2.2)[SUSv3] fabs(GLIBC_2.2)[SUSv3] 5134 nearbyint(GLIBC_2.2)[SUSv3] 5135 cacos(GLIBC_2.2)[SUSv3] fabsf(GLIBC_2.2)[SUSv3] 5136 nearbyintf(GLIBC_2.2)[SUSv3] 5137 cacosf(GLIBC_2.2)[SUSv3] fabsl(GLIBC_2.2)[SUSv3] 5138 nearbyintl(GLIBC_2.2)[SUSv3] 5139 cacosh(GLIBC_2.2)[SUSv3] fdim(GLIBC_2.2)[SUSv3] 5140 nextafter(GLIBC_2.2)[SUSv3] 5141 cacoshf(GLIBC_2.2)[SUSv3] fdimf(GLIBC_2.2)[SUSv3] 5142 nextafterf(GLIBC_2.2)[SUSv3] 5143 cacoshl(GLIBC_2.2)[SUSv3] fdiml(GLIBC_2.2)[SUSv3] 5144 nextafterl(GLIBC_2.2)[SUSv3] 5145 cacosl(GLIBC_2.2)[SUSv3] feclearexcept(GLIBC_2.2)[SUSv3] 5146 nexttoward(GLIBC_2.2)[SUSv3] 5147 carg(GLIBC_2.2)[SUSv3] fedisableexcept(GLIBC_2.2)[LSB] 5148 nexttowardf(GLIBC_2.2)[SUSv3] 5149 cargf(GLIBC_2.2)[SUSv3] feenableexcept(GLIBC_2.2)[LSB] 5150 nexttowardl(GLIBC_2.2)[SUSv3] 5151 cargl(GLIBC_2.2)[SUSv3] fegetenv(GLIBC_2.2)[SUSv3] 5152 pow(GLIBC_2.2)[SUSv3] 5153 casin(GLIBC_2.2)[SUSv3] fegetexcept(GLIBC_2.2)[LSB] 5154 pow10(GLIBC_2.2)[LSB] 5155 casinf(GLIBC_2.2)[SUSv3] fegetexceptflag(GLIBC_2.2)[SUSv3] 5156 pow10f(GLIBC_2.2)[LSB] 5157 casinh(GLIBC_2.2)[SUSv3] fegetround(GLIBC_2.2)[SUSv3] 5158 pow10l(GLIBC_2.2)[LSB] 5159 casinhf(GLIBC_2.2)[SUSv3] feholdexcept(GLIBC_2.2)[SUSv3] 5160 powf(GLIBC_2.2)[SUSv3] 5161 casinhl(GLIBC_2.2)[SUSv3] feraiseexcept(GLIBC_2.2)[SUSv3] 5162 powl(GLIBC_2.2)[SUSv3] 5163 casinl(GLIBC_2.2)[SUSv3] fesetenv(GLIBC_2.2)[SUSv3] 5164 remainder(GLIBC_2.2)[SUSv3] 5165 catan(GLIBC_2.2)[SUSv3] fesetexceptflag(GLIBC_2.2)[SUSv3] 5166 remainderf(GLIBC_2.2)[SUSv3] 5167 catanf(GLIBC_2.2)[SUSv3] fesetround(GLIBC_2.2)[SUSv3] 5168 remainderl(GLIBC_2.2)[SUSv3] 5169 catanh(GLIBC_2.2)[SUSv3] fetestexcept(GLIBC_2.2)[SUSv3] 5170 remquo(GLIBC_2.2)[SUSv3] 5171 catanhf(GLIBC_2.2)[SUSv3] feupdateenv(GLIBC_2.2)[SUSv3] 5172 remquof(GLIBC_2.2)[SUSv3] 5173 catanhl(GLIBC_2.2)[SUSv3] finite(GLIBC_2.2)[LSB] 5174 remquol(GLIBC_2.2)[SUSv3] 5175 catanl(GLIBC_2.2)[SUSv3] finitef(GLIBC_2.2)[LSB] 5176 rint(GLIBC_2.2)[SUSv3] 5177 cbrt(GLIBC_2.2)[SUSv3] finitel(GLIBC_2.2)[LSB] 5178 rintf(GLIBC_2.2)[SUSv3] 5179 cbrtf(GLIBC_2.2)[SUSv3] floor(GLIBC_2.2)[SUSv3] 5180 rintl(GLIBC_2.2)[SUSv3] 5181 cbrtl(GLIBC_2.2)[SUSv3] floorf(GLIBC_2.2)[SUSv3] 5182 round(GLIBC_2.2)[SUSv3] 5183 ccos(GLIBC_2.2)[SUSv3] floorl(GLIBC_2.2)[SUSv3] 5184 roundf(GLIBC_2.2)[SUSv3] 5185 ccosf(GLIBC_2.2)[SUSv3] fma(GLIBC_2.2)[SUSv3] 5186 roundl(GLIBC_2.2)[SUSv3] 5187 ccosh(GLIBC_2.2)[SUSv3] fmaf(GLIBC_2.2)[SUSv3] 5188 scalb(GLIBC_2.2)[SUSv3] 5189 ccoshf(GLIBC_2.2)[SUSv3] fmal(GLIBC_2.2)[SUSv3] 5190 scalbf(GLIBC_2.2)[ISOC99] 5191 ccoshl(GLIBC_2.2)[SUSv3] fmax(GLIBC_2.2)[SUSv3] 5192 scalbl(GLIBC_2.2)[ISOC99] 5193 ccosl(GLIBC_2.2)[SUSv3] fmaxf(GLIBC_2.2)[SUSv3] 5194 scalbln(GLIBC_2.2)[SUSv3] 5195 ceil(GLIBC_2.2)[SUSv3] fmaxl(GLIBC_2.2)[SUSv3] 5196 scalblnf(GLIBC_2.2)[SUSv3] 5197 ceilf(GLIBC_2.2)[SUSv3] fmin(GLIBC_2.2)[SUSv3] 5198 scalblnl(GLIBC_2.2)[SUSv3] 5199 ceill(GLIBC_2.2)[SUSv3] fminf(GLIBC_2.2)[SUSv3] 5200 scalbn(GLIBC_2.2)[SUSv3] 5201 cexp(GLIBC_2.2)[SUSv3] fminl(GLIBC_2.2)[SUSv3] 5202 scalbnf(GLIBC_2.2)[SUSv3] 5203 cexpf(GLIBC_2.2)[SUSv3] fmod(GLIBC_2.2)[SUSv3] 5204 scalbnl(GLIBC_2.2)[SUSv3] 5205 cexpl(GLIBC_2.2)[SUSv3] fmodf(GLIBC_2.2)[SUSv3] 5206 significand(GLIBC_2.2)[LSB] 5207 cimag(GLIBC_2.2)[SUSv3] fmodl(GLIBC_2.2)[SUSv3] 5208 significandf(GLIBC_2.2)[LSB] 5209 cimagf(GLIBC_2.2)[SUSv3] frexp(GLIBC_2.2)[SUSv3] 5210 significandl(GLIBC_2.2)[LSB] 5211 cimagl(GLIBC_2.2)[SUSv3] frexpf(GLIBC_2.2)[SUSv3] 5212 sin(GLIBC_2.2)[SUSv3] 5213 clog(GLIBC_2.2)[SUSv3] frexpl(GLIBC_2.2)[SUSv3] 5214 sincos(GLIBC_2.2)[LSB] 5215 clog10(GLIBC_2.2)[LSB] gamma(GLIBC_2.2)[LSB] 5216 sincosf(GLIBC_2.2)[LSB] 5217 clog10f(GLIBC_2.2)[LSB] gammaf(GLIBC_2.2)[LSB] 5218 sincosl(GLIBC_2.2)[LSB] 5219 clog10l(GLIBC_2.2)[LSB] gammal(GLIBC_2.2)[LSB] 5220 sinf(GLIBC_2.2)[SUSv3] 5221 clogf(GLIBC_2.2)[SUSv3] hypot(GLIBC_2.2)[SUSv3] 5222 sinh(GLIBC_2.2)[SUSv3] 5223 clogl(GLIBC_2.2)[SUSv3] hypotf(GLIBC_2.2)[SUSv3] 5224 sinhf(GLIBC_2.2)[SUSv3] 5225 conj(GLIBC_2.2)[SUSv3] hypotl(GLIBC_2.2)[SUSv3] 5226 sinhl(GLIBC_2.2)[SUSv3] 5227 conjf(GLIBC_2.2)[SUSv3] ilogb(GLIBC_2.2)[SUSv3] 5228 sinl(GLIBC_2.2)[SUSv3] 5229 conjl(GLIBC_2.2)[SUSv3] ilogbf(GLIBC_2.2)[SUSv3] 5230 sqrt(GLIBC_2.2)[SUSv3] 5231 copysign(GLIBC_2.2)[SUSv3] ilogbl(GLIBC_2.2)[SUSv3] 5232 sqrtf(GLIBC_2.2)[SUSv3] 5233 copysignf(GLIBC_2.2)[SUSv3] j0(GLIBC_2.2)[SUSv3] 5234 sqrtl(GLIBC_2.2)[SUSv3] 5235 copysignl(GLIBC_2.2)[SUSv3] j0f(GLIBC_2.2)[LSB] 5236 tan(GLIBC_2.2)[SUSv3] 5237 cos(GLIBC_2.2)[SUSv3] j0l(GLIBC_2.2)[LSB] 5238 tanf(GLIBC_2.2)[SUSv3] 5239 cosf(GLIBC_2.2)[SUSv3] j1(GLIBC_2.2)[SUSv3] 5240 tanh(GLIBC_2.2)[SUSv3] 5241 cosh(GLIBC_2.2)[SUSv3] j1f(GLIBC_2.2)[LSB] 5242 tanhf(GLIBC_2.2)[SUSv3] 5243 coshf(GLIBC_2.2)[SUSv3] j1l(GLIBC_2.2)[LSB] 5244 tanhl(GLIBC_2.2)[SUSv3] 5245 coshl(GLIBC_2.2)[SUSv3] jn(GLIBC_2.2)[SUSv3] 5246 tanl(GLIBC_2.2)[SUSv3] 5247 cosl(GLIBC_2.2)[SUSv3] jnf(GLIBC_2.2)[LSB] 5248 tgamma(GLIBC_2.2)[SUSv3] 5249 cpow(GLIBC_2.2)[SUSv3] jnl(GLIBC_2.2)[LSB] 5250 tgammaf(GLIBC_2.2)[SUSv3] 5251 cpowf(GLIBC_2.2)[SUSv3] ldexp(GLIBC_2.2)[SUSv3] 5252 tgammal(GLIBC_2.2)[SUSv3] 5253 cpowl(GLIBC_2.2)[SUSv3] ldexpf(GLIBC_2.2)[SUSv3] 5254 trunc(GLIBC_2.2)[SUSv3] 5255 cproj(GLIBC_2.2)[SUSv3] ldexpl(GLIBC_2.2)[SUSv3] 5256 truncf(GLIBC_2.2)[SUSv3] 5257 cprojf(GLIBC_2.2)[SUSv3] lgamma(GLIBC_2.2)[SUSv3] 5258 truncl(GLIBC_2.2)[SUSv3] 5259 cprojl(GLIBC_2.2)[SUSv3] lgamma_r(GLIBC_2.2)[LSB] 5260 y0(GLIBC_2.2)[SUSv3] 5261 creal(GLIBC_2.2)[SUSv3] lgammaf(GLIBC_2.2)[SUSv3] 5262 y0f(GLIBC_2.2)[LSB] 5263 crealf(GLIBC_2.2)[SUSv3] lgammaf_r(GLIBC_2.2)[LSB] 5264 y0l(GLIBC_2.2)[LSB] 5265 creall(GLIBC_2.2)[SUSv3] lgammal(GLIBC_2.2)[SUSv3] 5266 y1(GLIBC_2.2)[SUSv3] 5267 csin(GLIBC_2.2)[SUSv3] lgammal_r(GLIBC_2.2)[LSB] 5268 y1f(GLIBC_2.2)[LSB] 5269 csinf(GLIBC_2.2)[SUSv3] llrint(GLIBC_2.2)[SUSv3] 5270 y1l(GLIBC_2.2)[LSB] 5271 csinh(GLIBC_2.2)[SUSv3] llrintf(GLIBC_2.2)[SUSv3] 5272 yn(GLIBC_2.2)[SUSv3] 5273 csinhf(GLIBC_2.2)[SUSv3] llrintl(GLIBC_2.2)[SUSv3] 5274 ynf(GLIBC_2.2)[LSB] 5275 csinhl(GLIBC_2.2)[SUSv3] llround(GLIBC_2.2)[SUSv3] 5276 ynl(GLIBC_2.2)[LSB] 5277 5278 Table A-7. libm Data Interfaces 5279 signgam[SUSv3] 5280 __________________________________________________________ 5281 5282 A.6. libpthread 5283 5284 The behavior of the interfaces in this library is specified by 5285 the following Standards. 5286 5287 Large File Support [LFS] 5288 ISO/IEC 23360 Part 1 [LSB] 5289 ISO POSIX (2003) [SUSv3] 5290 5291 Table A-8. libpthread Function Interfaces 5292 _pthread_cleanup_pop(GLIBC_2.2)[LSB] 5293 pthread_cond_signal(GLIBC_2.3.2)[SUSv3] 5294 pthread_rwlock_timedrdlock(GLIBC_2.2)[SUSv3] 5295 _pthread_cleanup_push(GLIBC_2.2)[LSB] 5296 pthread_cond_timedwait(GLIBC_2.3.2)[SUSv3] 5297 pthread_rwlock_timedwrlock(GLIBC_2.2)[SUSv3] 5298 lseek64(GLIBC_2.2)[LFS] pthread_cond_wait(GLIBC_2.3.2)[SUSv3] 5299 pthread_rwlock_tryrdlock(GLIBC_2.2)[SUSv3] 5300 open64(GLIBC_2.2)[LFS] 5301 pthread_condattr_destroy(GLIBC_2.2)[SUSv3] 5302 pthread_rwlock_trywrlock(GLIBC_2.2)[SUSv3] 5303 pread(GLIBC_2.2)[SUSv3] 5304 pthread_condattr_getpshared(GLIBC_2.2)[SUSv3] 5305 pthread_rwlock_unlock(GLIBC_2.2)[SUSv3] 5306 pread64(GLIBC_2.2)[LFS] pthread_condattr_init(GLIBC_2.2)[SUSv3] 5307 pthread_rwlock_wrlock(GLIBC_2.2)[SUSv3] 5308 pthread_attr_destroy(GLIBC_2.2)[SUSv3] 5309 pthread_condattr_setpshared(GLIBC_2.2)[SUSv3] 5310 pthread_rwlockattr_destroy(GLIBC_2.2)[SUSv3] 5311 pthread_attr_getdetachstate(GLIBC_2.2)[SUSv3] 5312 pthread_create(GLIBC_2.2)[SUSv3] 5313 pthread_rwlockattr_getpshared(GLIBC_2.2)[SUSv3] 5314 pthread_attr_getguardsize(GLIBC_2.2)[SUSv3] 5315 pthread_detach(GLIBC_2.2)[SUSv3] 5316 pthread_rwlockattr_init(GLIBC_2.2)[SUSv3] 5317 pthread_attr_getinheritsched(GLIBC_2.2)[SUSv3] 5318 pthread_equal(GLIBC_2.2)[SUSv3] 5319 pthread_rwlockattr_setpshared(GLIBC_2.2)[SUSv3] 5320 pthread_attr_getschedparam(GLIBC_2.2)[SUSv3] 5321 pthread_exit(GLIBC_2.2)[SUSv3] pthread_self(GLIBC_2.2)[SUSv3] 5322 pthread_attr_getschedpolicy(GLIBC_2.2)[SUSv3] 5323 pthread_getconcurrency(GLIBC_2.2)[SUSv3] 5324 pthread_setcancelstate(GLIBC_2.2)[SUSv3] 5325 pthread_attr_getscope(GLIBC_2.2)[SUSv3] 5326 pthread_getcpuclockid(GLIBC_2.2)[SUSv3] 5327 pthread_setcanceltype(GLIBC_2.2)[SUSv3] 5328 pthread_attr_getstack(GLIBC_2.2)[SUSv3] 5329 pthread_getschedparam(GLIBC_2.2)[SUSv3] 5330 pthread_setconcurrency(GLIBC_2.2)[SUSv3] 5331 pthread_attr_getstackaddr(GLIBC_2.2)[SUSv3] 5332 pthread_getspecific(GLIBC_2.2)[SUSv3] 5333 pthread_setschedparam(GLIBC_2.2)[SUSv3] 5334 pthread_attr_getstacksize(GLIBC_2.2)[SUSv3] 5335 pthread_join(GLIBC_2.2)[SUSv3] 5336 pthread_setspecific(GLIBC_2.2)[SUSv3] 5337 pthread_attr_init(GLIBC_2.2)[SUSv3] 5338 pthread_key_create(GLIBC_2.2)[SUSv3] 5339 pthread_sigmask(GLIBC_2.2)[SUSv3] 5340 pthread_attr_setdetachstate(GLIBC_2.2)[SUSv3] 5341 pthread_key_delete(GLIBC_2.2)[SUSv3] 5342 pthread_spin_destroy(GLIBC_2.2)[SUSv3] 5343 pthread_attr_setguardsize(GLIBC_2.2)[SUSv3] 5344 pthread_kill(GLIBC_2.2)[SUSv3] 5345 pthread_spin_init(GLIBC_2.2)[SUSv3] 5346 pthread_attr_setinheritsched(GLIBC_2.2)[SUSv3] 5347 pthread_mutex_destroy(GLIBC_2.2)[SUSv3] 5348 pthread_spin_lock(GLIBC_2.2)[SUSv3] 5349 pthread_attr_setschedparam(GLIBC_2.2)[SUSv3] 5350 pthread_mutex_init(GLIBC_2.2)[SUSv3] 5351 pthread_spin_trylock(GLIBC_2.2)[SUSv3] 5352 pthread_attr_setschedpolicy(GLIBC_2.2)[SUSv3] 5353 pthread_mutex_lock(GLIBC_2.2)[SUSv3] 5354 pthread_spin_unlock(GLIBC_2.2)[SUSv3] 5355 pthread_attr_setscope(GLIBC_2.2)[SUSv3] 5356 pthread_mutex_timedlock(GLIBC_2.2)[SUSv3] 5357 pthread_testcancel(GLIBC_2.2)[SUSv3] 5358 pthread_attr_setstackaddr(GLIBC_2.2)[SUSv3] 5359 pthread_mutex_trylock(GLIBC_2.2)[SUSv3] 5360 pwrite(GLIBC_2.2)[SUSv3] 5361 pthread_attr_setstacksize(GLIBC_2.2)[SUSv3] 5362 pthread_mutex_unlock(GLIBC_2.2)[SUSv3] pwrite64(GLIBC_2.2)[LFS] 5363 pthread_barrier_destroy(GLIBC_2.2)[SUSv3] 5364 pthread_mutexattr_destroy(GLIBC_2.2)[SUSv3] 5365 sem_close(GLIBC_2.2)[SUSv3] 5366 pthread_barrier_init(GLIBC_2.2)[SUSv3] 5367 pthread_mutexattr_getpshared(GLIBC_2.2)[SUSv3] 5368 sem_destroy(GLIBC_2.2)[SUSv3] 5369 pthread_barrier_wait(GLIBC_2.2)[SUSv3] 5370 pthread_mutexattr_gettype(GLIBC_2.2)[SUSv3] 5371 sem_getvalue(GLIBC_2.2)[SUSv3] 5372 pthread_barrierattr_destroy(GLIBC_2.2)[SUSv3] 5373 pthread_mutexattr_init(GLIBC_2.2)[SUSv3] 5374 sem_init(GLIBC_2.2)[SUSv3] 5375 pthread_barrierattr_init(GLIBC_2.2)[SUSv3] 5376 pthread_mutexattr_setpshared(GLIBC_2.2)[SUSv3] 5377 sem_open(GLIBC_2.2)[SUSv3] 5378 pthread_barrierattr_setpshared(GLIBC_2.2)[SUSv3] 5379 pthread_mutexattr_settype(GLIBC_2.2)[SUSv3] 5380 sem_post(GLIBC_2.2)[SUSv3] 5381 pthread_cancel(GLIBC_2.2)[SUSv3] pthread_once(GLIBC_2.2)[SUSv3] 5382 sem_timedwait(GLIBC_2.2)[SUSv3] 5383 pthread_cond_broadcast(GLIBC_2.3.2)[SUSv3] 5384 pthread_rwlock_destroy(GLIBC_2.2)[SUSv3] 5385 sem_trywait(GLIBC_2.2)[SUSv3] 5386 pthread_cond_destroy(GLIBC_2.3.2)[SUSv3] 5387 pthread_rwlock_init(GLIBC_2.2)[SUSv3] 5388 sem_unlink(GLIBC_2.2)[SUSv3] 5389 pthread_cond_init(GLIBC_2.3.2)[SUSv3] 5390 pthread_rwlock_rdlock(GLIBC_2.2)[SUSv3] 5391 sem_wait(GLIBC_2.2)[SUSv3] 5392 __________________________________________________________ 5393 5394 A.7. librt 5395 5396 The behavior of the interfaces in this library is specified by 5397 the following Standards. 5398 5399 ISO POSIX (2003) [SUSv3] 5400 5401 Table A-9. librt Function Interfaces 5402 clock_getcpuclockid(GLIBC_2.2)[SUSv3] 5403 clock_settime(GLIBC_2.2)[SUSv3] 5404 timer_delete(GLIBC_2.3.3)[SUSv3] 5405 clock_getres(GLIBC_2.2)[SUSv3] shm_open(GLIBC_2.2)[SUSv3] 5406 timer_getoverrun(GLIBC_2.3.3)[SUSv3] 5407 clock_gettime(GLIBC_2.2)[SUSv3] shm_unlink(GLIBC_2.2)[SUSv3] 5408 timer_gettime(GLIBC_2.3.3)[SUSv3] 5409 clock_nanosleep(GLIBC_2.2)[SUSv3] 5410 timer_create(GLIBC_2.3.3)[SUSv3] 5411 timer_settime(GLIBC_2.3.3)[SUSv3] 5412 __________________________________________________________ 5413 5414 A.8. libutil 5415 5416 The behavior of the interfaces in this library is specified by 5417 the following Standards. 5418 5419 ISO/IEC 23360 Part 1 [LSB] 5420 5421 Table A-10. libutil Function Interfaces 5422 forkpty(GLIBC_2.2)[LSB] login_tty(GLIBC_2.2)[LSB] 5423 logwtmp(GLIBC_2.2)[LSB] 5424 login(GLIBC_2.2)[LSB] logout(GLIBC_2.2)[LSB] 5425 openpty(GLIBC_2.2)[LSB] 5426 __________________________________________________________ 5427 5428 Appendix B. GNU Free Documentation License (Informative) 5429 5430 This specification is published under the terms of the GNU Free 5431 Documentation License, Version 1.1, March 2000 5432 5433 Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple 5434 Place, Suite 330, Boston, MA 02111-1307 USA Everyone is 5435 permitted to copy and distribute verbatim copies of this 5436 license document, but changing it is not allowed. 5437 __________________________________________________________ 5438 5439 B.1. PREAMBLE 5440 5441 The purpose of this License is to make a manual, textbook, or 5442 other written document "free" in the sense of freedom: to 5443 assure everyone the effective freedom to copy and redistribute 5444 it, with or without modifying it, either commercially or 5445 noncommercially. Secondarily, this License preserves for the 5446 author and publisher a way to get credit for their work, while 5447 not being considered responsible for modifications made by 5448 others. 5449 5450 This License is a kind of "copyleft", which means that 5451 derivative works of the document must themselves be free in the 5452 same sense. It complements the GNU General Public License, 5453 which is a copyleft license designed for free software. 5454 5455 We have designed this License in order to use it for manuals 5456 for free software, because free software needs free 5457 documentation: a free program should come with manuals 5458 providing the same freedoms that the software does. But this 5459 License is not limited to software manuals; it can be used for 5460 any textual work, regardless of subject matter or whether it is 5461 published as a printed book. We recommend this License 5462 principally for works whose purpose is instruction or 5463 reference. 5464 __________________________________________________________ 5465 5466 B.2. APPLICABILITY AND DEFINITIONS 5467 5468 This License applies to any manual or other work that contains 5469 a notice placed by the copyright holder saying it can be 5470 distributed under the terms of this License. The "Document", 5471 below, refers to any such manual or work. Any member of the 5472 public is a licensee, and is addressed as "you". 5473 5474 A "Modified Version" of the Document means any work containing 5475 the Document or a portion of it, either copied verbatim, or 5476 with modifications and/or translated into another language. 5477 5478 A "Secondary Section" is a named appendix or a front-matter 5479 section of the Document that deals exclusively with the 5480 relationship of the publishers or authors of the Document to 5481 the Document's overall subject (or to related matters) and 5482 contains nothing that could fall directly within that overall 5483 subject. (For example, if the Document is in part a textbook of 5484 mathematics, a Secondary Section may not explain any 5485 mathematics.) The relationship could be a matter of historical 5486 connection with the subject or with related matters, or of 5487 legal, commercial, philosophical, ethical or political position 5488 regarding them. 5489 5490 The "Invariant Sections" are certain Secondary Sections whose 5491 titles are designated, as being those of Invariant Sections, in 5492 the notice that says that the Document is released under this 5493 License. 5494 5495 The "Cover Texts" are certain short passages of text that are 5496 listed, as Front-Cover Texts or Back-Cover Texts, in the notice 5497 that says that the Document is released under this License. 5498 5499 A "Transparent" copy of the Document means a machine-readable 5500 copy, represented in a format whose specification is available 5501 to the general public, whose contents can be viewed and edited 5502 directly and straightforwardly with generic text editors or 5503 (for images composed of pixels) generic paint programs or (for 5504 drawings) some widely available drawing editor, and that is 5505 suitable for input to text formatters or for automatic 5506 translation to a variety of formats suitable for input to text 5507 formatters. A copy made in an otherwise Transparent file format 5508 whose markup has been designed to thwart or discourage 5509 subsequent modification by readers is not Transparent. A copy 5510 that is not "Transparent" is called "Opaque". 5511 5512 Examples of suitable formats for Transparent copies include 5513 plain ASCII without markup, Texinfo input format, LaTeX input 5514 format, SGML or XML using a publicly available DTD, and 5515 standard-conforming simple HTML designed for human 5516 modification. Opaque formats include PostScript, PDF, 5517 proprietary formats that can be read and edited only by 5518 proprietary word processors, SGML or XML for which the DTD 5519 and/or processing tools are not generally available, and the 5520 machine-generated HTML produced by some word processors for 5521 output purposes only. 5522 5523 The "Title Page" means, for a printed book, the title page 5524 itself, plus such following pages as are needed to hold, 5525 legibly, the material this License requires to appear in the 5526 title page. For works in formats which do not have any title 5527 page as such, "Title Page" means the text near the most 5528 prominent appearance of the work's title, preceding the 5529 beginning of the body of the text. 5530 __________________________________________________________ 5531 5532 B.3. VERBATIM COPYING 5533 5534 You may copy and distribute the Document in any medium, either 5535 commercially or noncommercially, provided that this License, 5536 the copyright notices, and the license notice saying this 5537 License applies to the Document are reproduced in all copies, 5538 and that you add no other conditions whatsoever to those of 5539 this License. You may not use technical measures to obstruct or 5540 control the reading or further copying of the copies you make 5541 or distribute. However, you may accept compensation in exchange 5542 for copies. If you distribute a large enough number of copies 5543 you must also follow the conditions in section 3. 5544 5545 You may also lend copies, under the same conditions stated 5546 above, and you may publicly display copies. 5547 __________________________________________________________ 5548 5549 B.4. COPYING IN QUANTITY 5550 5551 If you publish printed copies of the Document numbering more 5552 than 100, and the Document's license notice requires Cover 5553 Texts, you must enclose the copies in covers that carry, 5554 clearly and legibly, all these Cover Texts: Front-Cover Texts 5555 on the front cover, and Back-Cover Texts on the back cover. 5556 Both covers must also clearly and legibly identify you as the 5557 publisher of these copies. The front cover must present the 5558 full title with all words of the title equally prominent and 5559 visible. You may add other material on the covers in addition. 5560 Copying with changes limited to the covers, as long as they 5561 preserve the title of the Document and satisfy these 5562 conditions, can be treated as verbatim copying in other 5563 respects. 5564 5565 If the required texts for either cover are too voluminous to 5566 fit legibly, you should put the first ones listed (as many as 5567 fit reasonably) on the actual cover, and continue the rest onto 5568 adjacent pages. 5569 5570 If you publish or distribute Opaque copies of the Document 5571 numbering more than 100, you must either include a 5572 machine-readable Transparent copy along with each Opaque copy, 5573 or state in or with each Opaque copy a publicly-accessible 5574 computer-network location containing a complete Transparent 5575 copy of the Document, free of added material, which the general 5576 network-using public has access to download anonymously at no 5577 charge using public-standard network protocols. If you use the 5578 latter option, you must take reasonably prudent steps, when you 5579 begin distribution of Opaque copies in quantity, to ensure that 5580 this Transparent copy will remain thus accessible at the stated 5581 location until at least one year after the last time you 5582 distribute an Opaque copy (directly or through your agents or 5583 retailers) of that edition to the public. 5584 5585 It is requested, but not required, that you contact the authors 5586 of the Document well before redistributing any large number of 5587 copies, to give them a chance to provide you with an updated 5588 version of the Document. 5589 __________________________________________________________ 5590 5591 B.5. MODIFICATIONS 5592 5593 You may copy and distribute a Modified Version of the Document 5594 under the conditions of sections 2 and 3 above, provided that 5595 you release the Modified Version under precisely this License, 5596 with the Modified Version filling the role of the Document, 5597 thus licensing distribution and modification of the Modified 5598 Version to whoever possesses a copy of it. In addition, you 5599 must do these things in the Modified Version: 5600 5601 A. Use in the Title Page (and on the covers, if any) a title 5602 distinct from that of the Document, and from those of 5603 previous versions (which should, if there were any, be 5604 listed in the History section of the Document). You may use 5605 the same title as a previous version if the original 5606 publisher of that version gives permission. 5607 B. List on the Title Page, as authors, one or more persons or 5608 entities responsible for authorship of the modifications in 5609 the Modified Version, together with at least five of the 5610 principal authors of the Document (all of its principal 5611 authors, if it has less than five). 5612 C. State on the Title page the name of the publisher of the 5613 Modified Version, as the publisher. 5614 D. Preserve all the copyright notices of the Document. 5615 E. Add an appropriate copyright notice for your modifications 5616 adjacent to the other copyright notices. 5617 F. Include, immediately after the copyright notices, a license 5618 notice giving the public permission to use the Modified 5619 Version under the terms of this License, in the form shown 5620 in the Addendum below. 5621 G. Preserve in that license notice the full lists of Invariant 5622 Sections and required Cover Texts given in the Document's 5623 license notice. 5624 H. Include an unaltered copy of this License. 5625 I. Preserve the section entitled "History", and its title, and 5626 add to it an item stating at least the title, year, new 5627 authors, and publisher of the Modified Version as given on 5628 the Title Page. If there is no section entitled "History" 5629 in the Document, create one stating the title, year, 5630 authors, and publisher of the Document as given on its 5631 Title Page, then add an item describing the Modified 5632 Version as stated in the previous sentence. 5633 J. Preserve the network location, if any, given in the 5634 Document for public access to a Transparent copy of the 5635 Document, and likewise the network locations given in the 5636 Document for previous versions it was based on. These may 5637 be placed in the "History" section. You may omit a network 5638 location for a work that was published at least four years 5639 before the Document itself, or if the original publisher of 5640 the version it refers to gives permission. 5641 K. In any section entitled "Acknowledgements" or 5642 "Dedications", preserve the section's title, and preserve 5643 in the section all the substance and tone of each of the 5644 contributor acknowledgements and/or dedications given 5645 therein. 5646 L. Preserve all the Invariant Sections of the Document, 5647 unaltered in their text and in their titles. Section 5648 numbers or the equivalent are not considered part of the 5649 section titles. 5650 M. Delete any section entitled "Endorsements". Such a section 5651 may not be included in the Modified Version. 5652 N. Do not retitle any existing section as "Endorsements" or to 5653 conflict in title with any Invariant Section. 5654 5655 If the Modified Version includes new front-matter sections or 5656 appendices that qualify as Secondary Sections and contain no 5657 material copied from the Document, you may at your option 5658 designate some or all of these sections as invariant. To do 5659 this, add their titles to the list of Invariant Sections in the 5660 Modified Version's license notice. These titles must be 5661 distinct from any other section titles. 5662 5663 You may add a section entitled "Endorsements", provided it 5664 contains nothing but endorsements of your Modified Version by 5665 various parties--for example, statements of peer review or that 5666 the text has been approved by an organization as the 5667 authoritative definition of a standard. 5668 5669 You may add a passage of up to five words as a Front-Cover 5670 Text, and a passage of up to 25 words as a Back-Cover Text, to 5671 the end of the list of Cover Texts in the Modified Version. 5672 Only one passage of Front-Cover Text and one of Back-Cover Text 5673 may be added by (or through arrangements made by) any one 5674 entity. If the Document already includes a cover text for the 5675 same cover, previously added by you or by arrangement made by 5676 the same entity you are acting on behalf of, you may not add 5677 another; but you may replace the old one, on explicit 5678 permission from the previous publisher that added the old one. 5679 5680 The author(s) and publisher(s) of the Document do not by this 5681 License give permission to use their names for publicity for or 5682 to assert or imply endorsement of any Modified Version. 5683 __________________________________________________________ 5684 5685 B.6. COMBINING DOCUMENTS 5686 5687 You may combine the Document with other documents released 5688 under this License, under the terms defined in section 4 above 5689 for modified versions, provided that you include in the 5690 combination all of the Invariant Sections of all of the 5691 original documents, unmodified, and list them all as Invariant 5692 Sections of your combined work in its license notice. 5693 5694 The combined work need only contain one copy of this License, 5695 and multiple identical Invariant Sections may be replaced with 5696 a single copy. If there are multiple Invariant Sections with 5697 the same name but different contents, make the title of each 5698 such section unique by adding at the end of it, in parentheses, 5699 the name of the original author or publisher of that section if 5700 known, or else a unique number. Make the same adjustment to the 5701 section titles in the list of Invariant Sections in the license 5702 notice of the combined work. 5703 5704 In the combination, you must combine any sections entitled 5705 "History" in the various original documents, forming one 5706 section entitled "History"; likewise combine any sections 5707 entitled "Acknowledgements", and any sections entitled 5708 "Dedications". You must delete all sections entitled 5709 "Endorsements." 5710 __________________________________________________________ 5711 5712 B.7. COLLECTIONS OF DOCUMENTS 5713 5714 You may make a collection consisting of the Document and other 5715 documents released under this License, and replace the 5716 individual copies of this License in the various documents with 5717 a single copy that is included in the collection, provided that 5718 you follow the rules of this License for verbatim copying of 5719 each of the documents in all other respects. 5720 5721 You may extract a single document from such a collection, and 5722 distribute it individually under this License, provided you 5723 insert a copy of this License into the extracted document, and 5724 follow this License in all other respects regarding verbatim 5725 copying of that document. 5726 __________________________________________________________ 5727 5728 B.8. AGGREGATION WITH INDEPENDENT WORKS 5729 5730 A compilation of the Document or its derivatives with other 5731 separate and independent documents or works, in or on a volume 5732 of a storage or distribution medium, does not as a whole count 5733 as a Modified Version of the Document, provided no compilation 5734 copyright is claimed for the compilation. Such a compilation is 5735 called an "aggregate", and this License does not apply to the 5736 other self-contained works thus compiled with the Document, on 5737 account of their being thus compiled, if they are not 5738 themselves derivative works of the Document. 5739 5740 If the Cover Text requirement of section 3 is applicable to 5741 these copies of the Document, then if the Document is less than 5742 one quarter of the entire aggregate, the Document's Cover Texts 5743 may be placed on covers that surround only the Document within 5744 the aggregate. Otherwise they must appear on covers around the 5745 whole aggregate. 5746 __________________________________________________________ 5747 5748 B.9. TRANSLATION 5749 5750 Translation is considered a kind of modification, so you may 5751 distribute translations of the Document under the terms of 5752 section 4. Replacing Invariant Sections with translations 5753 requires special permission from their copyright holders, but 5754 you may include translations of some or all Invariant Sections 5755 in addition to the original versions of these Invariant 5756 Sections. You may include a translation of this License 5757 provided that you also include the original English version of 5758 this License. In case of a disagreement between the translation 5759 and the original English version of this License, the original 5760 English version will prevail. 5761 __________________________________________________________ 5762 5763 B.10. TERMINATION 5764 5765 You may not copy, modify, sublicense, or distribute the 5766 Document except as expressly provided for under this License. 5767 Any other attempt to copy, modify, sublicense or distribute the 5768 Document is void, and will automatically terminate your rights 5769 under this License. However, parties who have received copies, 5770 or rights, from you under this License will not have their 5771 licenses terminated so long as such parties remain in full 5772 compliance. 5773 __________________________________________________________ 5774 5775 B.11. FUTURE REVISIONS OF THIS LICENSE 5776 5777 The Free Software Foundation may publish new, revised versions 5778 of the GNU Free Documentation License from time to time. Such 5779 new versions will be similar in spirit to the present version, 5780 but may differ in detail to address new problems or concerns. 5781 See http://www.gnu.org/copyleft/. 5782 5783 Each version of the License is given a distinguishing version 5784 number. If the Document specifies that a particular numbered 5785 version of this License "or any later version" applies to it, 5786 you have the option of following the terms and conditions 5787 either of that specified version or of any later version that 5788 has been published (not as a draft) by the Free Software 5789 Foundation. If the Document does not specify a version number 5790 of this License, you may choose any version ever published (not 5791 as a draft) by the Free Software Foundation. 5792 __________________________________________________________ 5793 5794 B.12. How to use this License for your documents 5795 5796 To use this License in a document you have written, include a 5797 copy of the License in the document and put the following 5798 copyright and license notices just after the title page: 5799 5800 Copyright (c) YEAR YOUR NAME. Permission is granted to copy, 5801 distribute and/or modify this document under the terms of 5802 the GNU Free Documentation License, Version 1.1 or any later 5803 version published by the Free Software Foundation; with the 5804 Invariant Sections being LIST THEIR TITLES, with the 5805 Front-Cover Texts being LIST, and with the Back-Cover Texts 5806 being LIST. A copy of the license is included in the section 5807 entitled "GNU Free Documentation License". 5808 5809 If you have no Invariant Sections, write "with no Invariant 5810 Sections" instead of saying which ones are invariant. If you 5811 have no Front-Cover Texts, write "no Front-Cover Texts" instead 5812 of "Front-Cover Texts being LIST"; likewise for Back-Cover 5813 Texts. 5814 5815 If your document contains nontrivial examples of program code, 5816 we recommend releasing these examples in parallel under your 5817 choice of free software license, such as the GNU General Public 5818 License, to permit their use in free software.