L

liblongpath

A wrapper library for handling very long path names

liblongpath

A wrapper library for handling very long path names

DESCRIPTION

liblongpath provides, where possible, transparent wrapper functions of well-known system i/o functions for handling path names longer than PATH_MAX - overcoming a practical limitation of these functions at the expense of additional memory consumption and higher system call overhead for long paths.

The wrapper functions check the length of path arguments and, if they exceed PATH_MAX, open intermediate directories on the path. A semantic equivalent of the wrapped function is then executed with the last relative path element. In most cases, an *at variant of the wrapped function is used (e.g. openat for open). Alternatively, some wrapper functions use f* variants of the wrapped function on a newly opened file descriptor (e.g. fdopendir for opendir).

INSTALLATION

GNU autotools are used, the standard installation process should work

./configure [options]
make
make install

USAGE

See liblongpath(3) man page or src/liblongpath.rst

SUPPORT THIS PROJECT!

If liblongpath is helpful to you, please support our work. Any donations are welcome to Paypal account nils.goroll at uplex dot de.

Please contact me via email if you need an invoice or would like to donate via bank transfer. At any rate, we promise to properly tax all donations.

COMMERCIAL SUPPORT

If you require commercial support for liblongpath or are interested in future development, please contact info at uplex dot de.

LICENSE

This document is licensed under the same license as liblongpath itself. See the distribution's LICENSE file for details

COPYRIGHT

Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung. All rights reserved.