libgfileio Documentation

0.1

libgfileio is a C++ library that wraps around the standard unbuffered Unix file I/O functions write() and read(). Besides those, it provides some other wrappers around file related functions. It is type safe and extensively uses C++ exceptions for error conditions.

Licensing

The software is licensed under the GNU General Public License version 2 or later. See the COPYING file that comes with the tarball.

Platforms

libgfileio can be built under Sun(TM) Solaris(TM) version 10 or later, FreeBSD, and Linux.

Installation

The usual

./configure ; make ; make install

sequence. See the INSTALL file accompanying the tarball for further details.

Compilation and Linking

There are three ways to do this:
  1. Manual

    Use the '-I', '-L', and '-l' flags of the compiler, for instance

    $ cc -I/usr/local/include/gfileio -L/usr/local/lib -lgfileio example.cc
    

  2. pkg-config

    Libgfileio comes with a package config file (.pc). You could type for instance

    $ cc `pkg-config --cflags --libs libgfileio` example.cc
    
  3. Autoconf/Automake

    If you are using autoconf/automake for your project, then add to your configure.ac file

    PKG_CHECK_MODULES(SOMEAPP, libgfileio >= 0.1)
    AC_SUBST(SOMEAPP_CFLAGS)
    AC_SUBST(SOMEAPP_LIBS)
    

Homepage

Point your browser to http://www.guengel.ch/myapps/libgfileio.
Generated on Sat Sep 8 19:17:12 2007 for libgfileio by  doxygen 1.4.7