CONTENTS Title Page Copyright Page Preface 1 General 1.1 1.1 Scope 1.2 1.3 Conformance 1.2.1 1.3.1 Implementation Conformance 1.2.2 1.3.3 Language-Dependent Services for the C Programming Language 1.2.2.1 1.3.3.2 C Standard Language System Support 2 Definitions and General Requirements 3 Binary Semaphores 3.1 3.2 Functions 3.1.1 3.2.1 Make a Binary Semaphore Set 3.1.2 3.2.3 Open a Binary Semaphore Set 3.2 3.4 Rationale Relating to Semaphores 3.2.1 3.4.4 History of Resolution of Issues 4 Process Memory Locking 4.1 4.2 Functions 4.1.1 4.2.1 Lock/Unlock a Process's Address Space 5 Memory Mapped Files and Shared Memory 5.1 5.3 Memory Mapped Files and Shared Memory Overview 5.2 5.4 Functions 5.2.1 5.4.1 Map Process Addresses to a Memory Object 5.2.2 5.4.4 Memory Object Synchronization 5.2.3 5.4.5 Open a Shared Memory Object 5.2.4 5.4.10 Close a Memory Object 5.2.5 5.4.11 Control Operations on Files and Shared Memory Objects 5.2.6 5.4.12 Change Mode of a Memory Object 5.2.7 5.4.13 Get Status of a Shared Memory Object 5.2.8 5.4.14 Truncate a File or Shared Memory Object to a Specified Length 6 Priority Scheduling 6.1 6.2 Scheduling Policies 6.1.1 6.2.3 SCHED_OTHER 6.2 6.3 Functions 6.2.1 6.3.1 Set Scheduling Parameters 6.2.2 6.3.3 Set Scheduling Policy and Scheduling Parameters 6.3 6.5 Rationale Relating to Priority Scheduling 6.3.1 6.5.3 Standardization Issues 7 Realtime Signals Extension 7.1 7.1 Realtime Signals Overview 7.1.1 7.1.1 Signal Names 8 Clocks and Timers 8.1 8.2 Functions 8.1.1 8.2.1 Clocks 8.1.1.1 8.2.1.1 Synopsis 8.1.2 8.2.4 Perprocess Timers 9 IPC Message Passing 9.1 9.2 Functions 9.1.1 9.2.1 Open a Message Queue 9.1.2 9.2.2 Close a Message Queue 9.1.3 9.2.3 Destroy a Message Queue 9.1.4 9.2.4 Send a Message to a Message Queue 9.1.5 9.2.5 Receive a Message from a Message Queue 9.1.6 9.2.6 Notify a Process That a Message Is Available on a Queue 9.1.7 9.2.7 Set Message Queue Attributes 9.1.8 9.2.8 Get Message Queue Attributes 10 Synchronized Input and Output 10.1 10.3 Functions 10.1.1 10.3.6 Data Synchronization 10.1.2 10.3.7 Get Configurable Pathname Variables 11 Asynchronous Input and Output 11.1 11.4 Functions 11.1.1 11.4.1 Asynchronous Read 11.1.2 11.4.2 Asynchronous Write 11.1.3 11.4.3 List Directed I/O 11.1.4 11.4.4 Retrieve Error Status of Asynchronous I/O Operation 11.1.5 11.4.5 Retrieve Return Status of Asynchronous I/O Operation 11.1.6 11.4.6 Cancel Asynchronous I/O Request 11.1.7 11.4.7 Wait for Asynchronous I/O Request 11.1.8 11.4.8 Asynchronous File Synchronization 11.1.9 11.4.11 Close a File 12 Realtime Files 12.1 12.4 Functions 12.1.1 12.4.1 Create a Realtime File 12.1.2 12.4.2 Get Attributes of a Realtime File 12.1.3 12.4.3 Set Attributes of a Realtime File 12.1.4 12.4.4 Get Capabilities of Realtime Files and File Systems 12.1.5 12.4.5 Get Increment Lists 12.1.6 12.4.6 Obtain a Suitably Aligned Data Buffer 13 Extensions to POSIX.1