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