STLplus C++ Library Collection - Portability Library
Author: Andy Rushton

# STLplus C++ Library Collection

Website Collection

# Portability Library

- Browse Header portability.hpp
- Introduction
- Dependencies
- Contents

## Introduction

The portability library provides platform-independent interfaces to platform-specific features. This is so that programs can be written to be inherently portable by using this library to access those features. The target platforms for portability are Windows NT/2k/XP/Vista and all flavours of Posix-compliant Unix, including all the flavours of Gnu/Linux on PCs, MacOS X on the Apple Macintosh, plus Solaris, HP-UX and AIX on engineering workstations. The target architectures are either 32-bit or 64-bit CPUs. The target compilers are Gnu's gcc (for Gnu/Linux, MacOS and Windows) and Microsoft's Visual Studio (for Windows).

## Dependencies

The portability library has no dependencies and so can be used as a stand-alone library.

## Contents

The components provided are:

- portability_fixes.hpp: Fixes for OS- & compiler-specific problems
- file_system.hpp: File System Access
- subprocesses.hpp: Subprocess Handler
- tcp_sockets.hpp: TCP Internet classes
- udp_sockets.hpp: UDP Internet classes
- dynaload.hpp: Dynamic Library Loader class
- dprintf.hpp: Safe Printf-like String Formatting
- wildcard.hpp: Wildcard String Matching
- time.hpp: Time Manipulation Functions
- build.hpp: Program Build Reporting
- inf.hpp: An Infinite-Precision Integer Type
- debug.hpp: Debugging Utilities