oracle home
Oracle
®
Solaris 11.2 Programming Interfaces Guide
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Index O
Updated: July 2014
Oracle
®
Solaris 11.2 Programming Interfaces Guide
Document Information
Using This Documentation
Product Documentation Library
Access to Oracle Support
Feedback
Chapter 1 Memory and CPU Management
Memory Management Interfaces
Creating and Using Mappings
Removing Mappings
Cache Control
Using mincore
Using mlock and munlock
Using mlockall and munlockall
Using msync
Library-Level Dynamic Memory
Dynamic Memory Allocation
Dynamic Memory Debugging
Other Memory Control Interfaces
Using sysconf
Using mprotect
Using brk and sbrk
CPU Performance Counters
API Additions to libcpc
Initialization Interfaces
Hardware Query Interfaces
Configuration Interfaces
Binding
Sampling
Buffer Operations
Activation Interfaces
Error Handling Interfaces
What's New in Oracle Solaris 11.2
Chapter 2 Session Description Protocol API
Session Description API Overview
SDP Library Functions
Creating the SDP Session Structure
Creating a New SDP Session Structure
Adding an Origin Field to the SDP Session Structure
Adding a Name Field to the SDP Session Structure
Adding an Information Field to the SDP Session Structure
Adding a URI Field to the SDP Session Structure
Adding an Email Field to the SDP Session Structure
Adding a Telephone Field to the SDP Session Structure
Adding a Connection Field to the SDP Session Structure
Adding a Bandwidth Field to the SDP Session Structure
Adding a Time Field to the SDP Session Structure
Adding a Repeat Field to the SDP Session Structure
Adding a Zone Field to the SDP Session Structure
Adding a Key Field to the SDP Session Structure
Adding an Attribute Field to the SDP Session Structure
Adding a Media Field to the SDP Session Structure
Code Sample: Building an SDP Session Structure
Searching the SDP Session Structure
Finding an Attribute in an SDP Session Structure
Finding Media in an SDP Session Structure
Finding a Media Format in an SDP Session Structure
Shutting Down the SDP Session Structure
Deleting Fields From the SDP Session Structure
Deleting Fields From the SDP Media Structure
Deleting Media From the SDP Media Structure
Deleting an Attribute From the SDP Media Structure
Deleting an Attribute From the SDP Media Structure
SDP API Utility Functions
Parsing the SDP Session Structure
Cloning an Existing SDP Session Structure
Converting an SDP Session Structure to a String
Chapter 3 Process Scheduler
Overview of the Scheduler
Time-Sharing Class
System Class
Real-time Class
Interactive Class
Fair-Share Class
Fixed-Priority Class
Commands and Interfaces
priocntl Usage
priocntl Interface
Interactions With Other Interfaces
Kernel Processes
Using fork and exec
Using nice
init1M
Scheduling and System Performance
Process State Transition
Chapter 4 Locality Group APIs
Locality Groups Overview
Verifying the Interface Version
Initializing the Locality Group Interface
Using lgrp_init
Using lgrp_fini
Locality Group Hierarchy
Using lgrp_cookie_stale
Using lgrp_view
Using lgrp_nlgrps
Using lgrp_root
Using lgrp_parents
Using lgrp_children
Locality Group Contents
Using lgrp_resources
Using lgrp_cpus
Using lgrp_mem_size
Locality Group Characteristics
Using lgrp_latency_cookie
Locality Groups and Thread and Memory Placement
Using lgrp_home
Using madvise
Using madv.so.1
madv.so.1 Usage Examples
Using meminfo
Locality Group Affinity
Using lgrp_affinity_get
Using lgrp_affinity_set
Examples of API Usage
Chapter 5 Input/Output Interfaces
Files and I/O Interfaces
Basic File I/O
Advanced File I/O
File System Control
Using File and Record Locking
Choosing a Lock Type
Selecting Advisory or Mandatory Locking
Cautions About Mandatory Locking
Supported File Systems
Opening a File for Locking
Setting a File Lock
Setting and Removing Record Locks
Getting Lock Information
Process Forking and Locks
Deadlock Handling
Terminal I/O Functions
Chapter 6 Interprocess Communication
Pipes Between Processes
Named Pipes
Sockets Overview
Doors Overview
POSIX Interprocess Communication
POSIX Messages
POSIX Semaphores
POSIX Shared Memory
System V IPC
Permissions for Messages, Semaphores, and Shared Memory
IPC Interfaces, Key Arguments, and Creation Flags
System V Messages
Initializing a Message Queue
Controlling Message Queues
Sending and Receiving Messages
System V Semaphores
Initializing a Semaphore Set
Controlling Semaphores
Semaphore Operations
System V Shared Memory
Accessing a Shared Memory Segment
Controlling a Shared Memory Segment
Attaching and Detaching a Shared Memory Segment
Chapter 7 Socket Interfaces
Overview of Sockets
Socket Libraries
Socket Types
Interface Sets
Socket Basics
Socket Creation
Binding Local Names
Connection Establishment
Connection Errors
Data Transfer
Closing Sockets
Connecting Stream Sockets
Input/Output Multiplexing
Datagram Sockets
Standard Routines
Host and Service Names
Host Names ??? hostent
Network Names ??? netent
Protocol Names ??? protoent
Service Names ??? servent
Other Routines
Client-Server Programs
Sockets and Servers
Sockets and Clients
Connectionless Servers
Advanced Socket Topics
Out-of-Band Data
Nonblocking Sockets
Asynchronous Socket I/O
Interrupt-Driven Socket I/O
Signals and Process Group ID
Selecting Specific Protocols
Address Binding
Socket Options
Socket Level Properties
inetd Daemon
Broadcasting and Determining Network Configuration
Using Multicast
Sending IPv4 Multicast Datagrams
Receiving IPv4 Multicast Datagrams
Sending IPv6 Multicast Datagrams
Receiving IPv6 Multicast Datagrams
Stream Control Transmission Protocol
SCTP Stack Implementation
SCTP Socket Interfaces
sctp_bindx
sctp_opt_info
sctp_recvmsg
sctp_sendmsg
sctp_send
sctp_sendv
sctp_recvv
sctp_connectx
sctp_getladdrs
sctp_freeladdrs
sctp_getpaddrs
sctp_freepaddrs
Branched-off Association
Code Examples of SCTP Use
Chapter 8 Programming With XTI and TLI
What Are XTI and TLI?
XTI/TLI Read/Write Interface
Write Data
Read Data
Close Connection
Advanced XTI/TLI Topics
Asynchronous Execution Mode
Advanced XTI/TLI Programming Example
Asynchronous Networking
Networking Programming Models
Asynchronous Connectionless-Mode Service
Making the Endpoint Asynchronous
Asynchronous Network Transfers
Asynchronous Connection-Mode Service
Asynchronously Establishing a Connection
Asynchronous Use of a Connection
Asynchronous Open
Transferring a File Descriptor
State Transitions
XTI/TLI States
Outgoing Events
Incoming Events
State Tables
Guidelines to Protocol Independence
XTI/TLI Versus Socket Interfaces
Socket-to-XTI/TLI Equivalents
Additions to the XTI Interface
Chapter 9 Packet Filtering Hooks
Packet Filtering Hooks Interfaces
Packet Filtering Hooks Kernel Functions
Packet Filtering Hooks Data Types
Using the Packet Filtering Hooks Interfaces
IP Instances
Protocol Registration
Event Registration
The Packet Hook
Packet Filtering Hooks Example
Chapter 10 Transport Selection and Name-to-Address Mapping
Transport Selection
Name-to-Address Mapping
straddr.so Library
Using the Name-to-Address Mapping Routines
Chapter 11 Real-time Programming and Administration
Basic Rules of Real-time Applications
Factors that Degrade Response Time
Synchronous I/O Calls
Interrupt Servicing
Shared Libraries
Priority Inversion
Sticky Locks
Runaway Real-time Processes
Asynchronous I/O Behavior
Real-time Files
The Real-Time Scheduler
Dispatch Latency
Scheduling Classes
Dispatch Queue
Dispatching Processes
Process Preemption
Kernel Priority Inversion
User Priority Inversion
Interface Calls That Control Scheduling
Using priocntl
Other interface calls
Utilities That Control Scheduling
priocntl1
dispadmin1M
Configuring Scheduling
Dispatcher Parameter Table
Reconfiguring config_rt_dptbl
Memory Locking
Locking a Page
Unlocking a Page
Locking All Pages
Recovering Sticky Locks
High Performance I/O
POSIX Asynchronous I/O
Oracle Solaris Asynchronous I/O
Notification (SIGIO)
Using aioread
Using aiowrite
Using aiocancel
Using aiowait
Using poll
Using the poll Driver
Using close
Synchronized I/O
Synchronization Modes
Synchronizing a File
Interprocess Communication
Processing Signals
Pipes, Named Pipes, and Message Queues
Using Semaphores
Shared Memory
Asynchronous Network Communication
Modes of Networking
Timing Facilities
Timestamp Interfaces
Interval Timer Interfaces
Chapter 12 The Oracle Solaris ABI and ABI Tools
What is the Oracle Solaris ABI?
Defining the Oracle Solaris ABI
Symbol Versioning in Oracle Solaris Libraries
Using Symbol Versioning to Label the Oracle Solaris ABI
Oracle Solaris ABI Tools
appcert Utility
What appcert Checks
Private Symbol Usage
Static Linking
Unbound Symbols
What appcert Does Not Check
Working with appcert
appcert Options
Using appcert for Application Triage
appcert Results
Correcting Problems Reported by appcert
Using apptrace for Application Verification
Application Verification
Running apptrace
Interpreting apptrace Output
Appendix A UNIX Domain Sockets
Creating Sockets
Local Name Binding
Establishing a Connection
Index
Index Numbers and Symbols
Index A
Index B
Index C
Index D
Index E
Index F
Index G
Index H
Index I
Index K
Index L
Index M
Index N
Index O
Index P
Index R
Index S
Index T
Index U
Index V
Index X
Index Z
Language:
English
O
optmgmt
Connection Mode State: Part 1
Connection Establishment State
Outgoing Events
Oracle Solaris Studio
Dynamic Memory Debugging
out-of-band data
Out-of-Band Data
Previous
Next