Next: Introduction, Previous: (dir), Up: (dir)
This is Edition 0.10, last updated 2001-07-06, of The GNU C Library Reference Manual, for Version 2.2.x of the GNU C Library.
Appendices
Indices
--- The Detailed Node Listing ---
Introduction
Standards and Portability
Using the Library
Error Reporting
Memory
brk
, sbrk
Memory Allocation
malloc
facility allows fully general
dynamic allocation.
Unconstrained Allocation
malloc
.
malloc
. xmalloc
.
free
to free a block you
got with malloc
.
realloc
to make a block
bigger or smaller.
calloc
to allocate a
block and clear it.
mallopt
to adjust allocation
parameters.
malloc
.
malloc
and related functions.
Allocation Debugging
Obstacks
Variable Size Automatic
alloca
.
alloca
.
alloca
.
Locking Pages
Character Handling
String and Array Utilities
Argz and Envz Vectors
Character Set Handling
Restartable multibyte conversion
Non-reentrant Conversion
Generic Charset Conversion
iconv
example.
iconv
Implementations.
iconv
Implementation in the GNU C
library.
Locales
Locale Information
localeconv
.
nl_langinfo
.
The Lame Way to Locale Data
Message Translation
catgets
family of functions.
gettext
family of functions.
Message catalogs a la X/Open
catgets
function family.
catgets
interface.
The Uniforum approach
gettext
family of functions.
gettext
.
Message catalogs with gettext
gettext
uses.
gettext
in GUI programs.
gettext
works.
Searching and Sorting
bsearch
function.
qsort
function.
hsearch
function.
tsearch
function.
Pattern Matching
Globbing
glob
.
glob
.
glob
.
Regular Expressions
regcomp
to prepare to match.
regcomp
.
regexec
to match the compiled
pattern that you get from regcomp
.
Word Expansion
wordexp
.
wordexp
.
I/O Overview
I/O Concepts
File Names
I/O on Streams
printf
and related functions.
printf
and friends.
scanf
and related functions.
Unreading
ungetc
to do unreading.
Formatted Output
vprintf
and friends.
parse_printf_format
.
Customizing Printf
register_printf_function
to register a new output conversion.
register_printf_function
.
printf
handler function.
printf
handlers.
Formatted Input
malloc
the buffer.
vscanf
and friends.
Stream Buffering
Other Kinds of Streams
Custom Streams
Formatted Messages
fmtmsg
function.
fmtmsg
and addseverity
.
Low-Level I/O
Stream/Descriptor Precautions
Asynchronous I/O
File Status Flags
open
.
File System Interface
Accessing Directories
File Attributes
Pipes and FIFOs
pipe
function.
Sockets
Socket Addresses
struct sockaddr
.
Local Namespace
Internet Namespace
Host Addresses
Open/Close Sockets
Connections
Transferring Data
send
.
recv
.
send
and recv
.
Datagrams
Inetd
Socket Options
Low-Level Terminal Interface
Terminal Modes
struct termios
and
related types.
Special Characters
Pseudo-Terminals
Syslog
Submitting Syslog Messages
Mathematics
Pseudo-Random Numbers
rand
and friends.
random
and friends.
drand48
and friends.
Arithmetic
Floating Point Errors
Arithmetic Functions
Parsing of Numbers
Date and Time
Processor And CPU Time
clock
function.
times
function.
Calendar Time
Parsing Date and Time
Resource Usage And Limitation
Priority
Traditional Scheduling
Memory Resources
Non-Local Exits
Signal Handling
open
,
read
, write
and other functions.
Concepts of Signals
Standard Signals
Signal Actions
signal
function.
sigaction
function.
Defining Handlers
Atomic Data Access
Generating Signals
kill
.
kill
for Communication.
Blocking Signals
Waiting for a Signal
pause
.
BSD Signal Handling
Program Basics
Program Arguments
Parsing Program Arguments
getopt
.
argp_parse
.
mount
.
Environment Variables
Program Termination
exit
, a
process terminates normally.
exit status
provides information
about why the process terminated.
abort
function causes
abnormal program termination.
Processes
Job Control
Implementing a Shell
Functions for Job Control
Name Service Switch
NSS Configuration File
NSS Module Internals
Extending NSS
Users and Groups
User Accounting Database
User Database
Group Database
Netgroup Database
System Management
Filesystem Handling
Mount Information
System Configuration
Sysconf
sysconf
.
sysconf
can read.
sysconf
and the parameter
macros properly together.
Cryptographic Functions
Debugging Support
Language Features
assert
to abort if
something ``impossible'' happens.
NULL
.
Variadic Functions
How Variadic
Data Type Measurements
Floating Type Macros
Installation
Maintenance
Porting