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