Poshlib

Poshlib

Posh is a software framework consisting of a header file and an optional C source file to aid in cross-platform software development. It was created by Brian Hook. It's BSD licensed and currently at version 1.3.002.

Posh does not provide alternatives where a host platform does not offer a feature, but informs through preprocessor macros what's supported and what not. It sets macros to assist in compiling with various different compilers (such as GCC, MSVC and OpenWatcom), and different host endiannesses. In its simplest form, only a single header file is required. In the optional C source file, there are functions for byte swapping and in-memory serialisation/deserialisation.

Brian Hook also created SAL (Simple Audio Library) that utilises Posh. Both are featured in his book "Write Portable Code". Posh is also used in Ferret and Vega Strike.

ee also

* libslack
* Simple DirectMedia Layer

External links

* [http://poshlib.hookatooka.com Poshlib] - Official website
* [http://www.bookofhook.com/poshlib/ POSH: The Portable Open Source Harness] - Doxygen documentation
* [http://www.bookofhook.com/sal/ Simple Audio Library]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Posh — may refer to: * the adjective meaning either 1. Associated with the upper classes, or 2. Stylish, elegant, exclusive *Posh (album), an album by R B singer Patrice Rushen *Posh (TV series), a planned NBC series *Posh (Unix), a Policy compliant… …   Wikipedia

  • Porting — In computer science, porting is the process of adapting software so that an executable program can be created for a computing environment that is different from the one for which it was originally designed (e.g. different CPU, operating system,… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”