Libporty
Libporty is a lightweight portability lib configured by
scconfig. It's been
tested on various different UNIX and BSD systems, including OSX, and on
Linux and Windows. The whole project is written in ANSI C, and does not
depend on m4. Only scripting dependencies are (traditional) make and
(traditional/POSIX) shell.
If a project is written in ANSI C (C89) and uses any extra feature exclusively
from libporty, it will also work on all systems libporty works on. To assist
developers in using libporty the Right Way, a lint-like utility called porty
is included in the project. Porty can be used to validate C sources for
portability.
Documentation is split in the same manner as the project is split:
- libporty, a lightweight portability library
- porty, a lint-like tool for validating C sources for portability
- c99tree, C code analysis tool that dumps AST of a C source file
License for libporty is LGPLv2, for c99tree is mixed BSD and GPLv2 and for porty
is GPLv2. To get the latest version, check out the code from the public svn
repository: svn://repo.hu/libporty/trunk. Official
releases are
also available.
News
The new release (0.9.2) features a redesign of async stdio and async bgproc API -
they work the same way on *NIX and windows for all corner cases.