Linux Standard Base Specification 2.1


Table of Contents
Foreword
Introduction
I. Introductory Elements
1. Scope
1.1. General
1.2. Module Specific Scope
2. Normative References
3. Requirements
3.1. Relevant Libraries
3.2. LSB Implementation Conformance
3.3. LSB Application Conformance
4. Definitions
5. Terminology
6. Documentation Conventions
II. Base Libraries
7. Libraries
7.1. Introduction
7.2. Program Interpreter
7.3. Interfaces for libc
7.4. Data Definitions for libc
7.5. Interface Definitions for libc
7.6. Interfaces for libm
7.7. Data Definitions for libm
7.8. Interface Definitions for libm
7.9. Interfaces for libpthread
7.10. Data Definitions for libpthread
7.11. Interface Definitions for libpthread
7.12. Interfaces for libgcc_s
7.13. Data Definitions for libgcc_s
7.14. Interfaces for libdl
7.15. Data Definitions for libdl
7.16. Interface Definitions for libdl
7.17. Interfaces for libcrypt
7.18. Interfaces for libpam
7.19. Data Definitions for libpam
7.20. Interface Definitions for libpam
III. Utility Libraries
8. Utility Libraries
8.1. Interfaces for libz
8.2. Data Definitions for libz
8.3. Interface Definitions for libz
8.4. Interfaces for libncurses
8.5. Data Definitions for libncurses
8.6. Interfaces for libutil
8.7. Interface Definitions for libutil
IV. Commands and Utilities
9. Commands and Utilities
9.1. Commands and Utilities
9.2. Command Behavior
V. Execution Environment
10. File System Hierarchy
10.1. /dev
10.2. User Accounting Databases
11. Additional Recommendations
11.1. Minimal granted Directory and File permissions
11.2. Recommendations for applications on ownership and permissions
12. Additional Behaviors
12.1. Mandatory Optional Behaviors
13. Localization
13.1. Regular Expressions
13.2. Pattern Matching Notation
VI. System Initialization
14. System Initialization
14.1. Cron Jobs
14.2. Init Script Actions
14.3. Comment Conventions for Init Scripts
14.4. Installation and Removal of init.d Files
14.5. Run Levels
14.6. Facility Names
14.7. Script Names
14.8. Init Script Functions
VII. Users & Groups
15. Users & Groups
15.1. User and Group Database
15.2. User & Group Names
15.3. UID Ranges
15.4. Rationale
A. GNU Free Documentation License
A.1. PREAMBLE
A.2. APPLICABILITY AND DEFINITIONS
A.3. VERBATIM COPYING
A.4. COPYING IN QUANTITY
A.5. MODIFICATIONS
A.6. COMBINING DOCUMENTS
A.7. COLLECTIONS OF DOCUMENTS
A.8. AGGREGATION WITH INDEPENDENT WORKS
A.9. TRANSLATION
A.10. TERMINATION
A.11. FUTURE REVISIONS OF THIS LICENSE
A.12. How to use this License for your documents
List of Tables
2-1. Normative References
3-1. Standard Library Names
3-2. Standard Library Names defined in the Architecture Specific Supplement
7-1. libc Definition
7-2. libc - RPC Function Interfaces
7-3. libc - RPC Deprecated Function Interfaces
7-4. libc - System Calls Function Interfaces
7-5. libc - System Calls Deprecated Function Interfaces
7-6. libc - Standard I/O Function Interfaces
7-7. libc - Standard I/O Data Interfaces
7-8. libc - Signal Handling Function Interfaces
7-9. libc - Signal Handling Deprecated Function Interfaces
7-10. libc - Signal Handling Data Interfaces
7-11. libc - Localization Functions Function Interfaces
7-12. libc - Localization Functions Data Interfaces
7-13. libc - Socket Interface Function Interfaces
7-14. libc - Socket Interface Deprecated Function Interfaces
7-15. libc - Wide Characters Function Interfaces
7-16. libc - String Functions Function Interfaces
7-17. libc - String Functions Deprecated Function Interfaces
7-18. libc - IPC Functions Function Interfaces
7-19. libc - Regular Expressions Function Interfaces
7-20. libc - Regular Expressions Deprecated Function Interfaces
7-21. libc - Regular Expressions Deprecated Data Interfaces
7-22. libc - Character Type Functions Function Interfaces
7-23. libc - Time Manipulation Function Interfaces
7-24. libc - Time Manipulation Deprecated Function Interfaces
7-25. libc - Time Manipulation Data Interfaces
7-26. libc - Terminal Interface Functions Function Interfaces
7-27. libc - System Database Interface Function Interfaces
7-28. libc - System Database Interface Deprecated Function Interfaces
7-29. libc - Language Support Function Interfaces
7-30. libc - Large File Support Function Interfaces
7-31. libc - Standard Library Function Interfaces
7-32. libc - Standard Library Deprecated Function Interfaces
7-33. libc - Standard Library Data Interfaces
7-1. Examples
7-35. libm Definition
7-36. libm - Math Function Interfaces
7-37. libm - Math Data Interfaces
7-38. libpthread Definition
7-39. libpthread - Posix Threads Function Interfaces
7-40. libgcc_s Definition
7-41. libdl Definition
7-42. libdl - Dynamic Loader Function Interfaces
7-43. libcrypt Definition
7-44. libcrypt - Encryption Function Interfaces
7-45. libpam Definition
7-46. libpam - Pluggable Authentication API Function Interfaces
8-1. libz Definition
8-2. libz - Compression Library Function Interfaces
8-3. libncurses Definition
8-4. libncurses - Curses Function Interfaces
8-5. libncurses - Curses Data Interfaces
8-6. libutil Definition
8-7. libutil - Utility Functions Function Interfaces
9-1. Commands and Utilities
9-1. Escape Sequences
15-1. Required User & Group Names
15-2. Optional User & Group Names