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