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