The GNU C Library - Table of Contents
The GNU C Library
- Introduction
- Error Reporting
- Memory Allocation
- Dynamic Memory Allocation Concepts
- Dynamic Allocation and C
- Unconstrained Allocation
- Basic Storage Allocation
- Examples of
malloc
- Freeing Memory Allocated with
malloc
- Changing the Size of a Block
- Allocating Cleared Space
- Efficiency Considerations for
malloc
- Allocating Aligned Memory Blocks
- Heap Consistency Checking
- Storage Allocation Hooks
- Statistics for Storage Allocation with
malloc
- Summary of
malloc
-Related Functions- Obstacks
- Automatic Storage with Variable Size
- Relocating Allocator
- Memory Usage Warnings
- Character Handling
- String and Array Utilities
- Extended Characters
- Introduction to Extended Characters
- Locales and Extended Characters
- Multibyte Characters
- Wide Character Introduction
- Conversion of Extended Strings
- Multibyte Character Length
- Conversion of Extended Characters One by One
- Example of Character-by-Character Conversion
- Multibyte Codes Using Shift Sequences
- Locales and Internationalization
- Searching and Sorting
- Pattern Matching
- Input/Output Overview
- Input/Output on Streams
- Streams
- Standard Streams
- Opening Streams
- Closing Streams
- Simple Output by Characters or Lines
- Character Input
- Line-Oriented Input
- Unreading
- Formatted Output
- Formatted Output Basics
- Output Conversion Syntax
- Table of Output Conversions
- Integer Conversions
- Floating-Point Conversions
- Other Output Conversions
- Formatted Output Functions
- Dynamically Allocating Formatted Output
- Variable Arguments Output Functions
- Parsing a Template String
- Example of Parsing a Template String
- Customizing
printf
- Formatted Input
- Block Input/Output
- End-Of-File and Errors
- Text and Binary Streams
- File Positioning
- Portable File-Position Functions
- Stream Buffering
- Temporary Files
- Other Kinds of Streams
- Low-Level Input/Output
- Opening and Closing Files
- Input and Output Primitives
- Setting the File Position of a Descriptor
- Descriptors and Streams
- Precautions for Mixing Streams and Descriptors
- Waiting for Input or Output
- Control Operations on Files
- Duplicating Descriptors
- File Descriptor Flags
- File Status Flags
- File Locks
- Interrupt-Driven Input
- File System Interface
- Pipes and FIFOs
- Sockets
- Low-Level Terminal Interface
- Identifying Terminals
- I/O Queues
- Two Styles of Input: Canonical or Not
- Terminal Modes
- Line Control Functions
- Noncanonical Mode Example
- Mathematics
- Low-Level Arithmetic Functions
- Date and Time
- Non-Local Exits
- Signal Handling
- Basic Concepts of Signals
- Standard Signals
- Specifying Signal Actions
- Defining Signal Handlers
- Primitives Interrupted by Signals
- Generating Signals
- Blocking Signals
- Waiting for a Signal
- BSD Signal Handling
- BSD Function to Establish a Handler
- Process Startup and Termination
- Child Processes
- Job Control
- Users and Groups
- User and Group IDs
- The Persona of a Process
- Why Change the Persona of a Process?
- How an Application Can Change Persona
- Reading the Persona of a Process
- Setting the User ID
- Setting the Group IDs
- Enabling and Disabling Setuid Access
- Setuid Program Example
- Tips for Writing Setuid Programs
- Identifying Who Logged In
- User Database
- Group Database
- User and Group Database Example
- System Information
- System Configuration Parameters
- General Capacity Limits
- Overall System Options
- Which Version of POSIX is Supported
- Using
sysconf
- Minimum Values for General Capacity Limits
- Limits on File System Capacity
- Optional Features in File Support
- Minimum Values for File System Limits
- Using
pathconf
- Utility Program Capacity Limits
- Minimum Values for Utility Limits
- String-Valued Parameters
- C Language Facilities Implemented By the Library
- Summary of Library Facilities
- Library Maintenance
- GNU LIBRARY GENERAL PUBLIC LICENSE
- Concept Index
- Type Index
- Function and Macro Index
- Variable and Constant Macro Index
- Program and File Index