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