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