Table of Contents Table of Contents Title and Copyright Information Preface Audience Documentation Accessibility Related Documents Conventions 1 Introduction 1.1 What Does This Technology Do? 1.2 Overview 1.3 Directory Structure 2 Windows Implementation Details 2.1 Libraries and Structure 2.2 The Basics 2.2.1 Source Code 2.2.2 Options and Information Storage 2.2.3 Structure Alignment 2.2.4 Character Sets 2.2.5 Runtime Considerations 2.2.6 Changing Resources 3 UNIX Implementation Details 3.1 Installation 3.2 Libraries and Structure 3.3 The Basics 3.3.1 Source Code 3.3.2 Information Storage 3.3.3 Character Sets 3.3.4 Signal Handling 3.3.5 Runtime Search Path and $ORIGIN 3.3.6 Environment Variables 3.3.7 Changing Resources 3.4 IBM AIX Compiling and Linking 3.5 Linux Compiling and Linking 3.6 Oracle Solaris Compiling and Linking 4 File ID Specification 4.1 FIDeInit 4.2 FIGetFirstId 4.3 FIGetIDString 4.4 FIGetNextId 4.5 FIIdFile 4.6 FIIdFileEx 4.7 FIInit 4.8 FIThreadInit 4.9 FIThreadInitExt 4.10 FIIdHandle 4.11 FIIdSpecial 5 Redirected IO 5.1 Using Redirected IO 5.2 IOClose 5.3 IORead 5.4 IOWrite 5.5 IOSeek 5.6 IOTell 5.7 IOGetInfo 5.7.1 IOGENSECONDARY and IOGENSECONDARYW Structures 5.7.2 File Types That Cause IOGETINFO_GENSECONDARY 5.8 IOSEEK64PROC / IOTELL64PROC 5.8.1 IOSeek64 5.8.2 IOTell64 6 Sample Applications 6.1 Building the Sample on a Windows System 6.2 Building the Sample on a UNIX System 6.3 The fisimple Application