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