Link to home
Start Free TrialLog in
Avatar of cweeks
cweeks

asked on

Anyone know of a library of functions for manipulating file paths ?

Hello,

I am looking for a set of functions written in C for manipulating file paths. Functions that could do the following would be nice.

Can tidy dir/.. occurances from paths
Convert absolute to relative
Convert relative to absolute
Tell if a path was absolute of relative
Return the file name portion
Return the path portion

And be cross platform, ie work on both linux and windows. I know it is asking a lot, but other languages such as Python have it built in, and it is available as a cpan module for perl.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of alexo
alexo
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunnycoder
No comment has been added lately and this question is therefore classified abandoned.

If asker wishes to close the question, then refer to
https://www.experts-exchange.com/help/closing.jsp

Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:
PAQed with A grade to alexo

Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Sunny
EE Cleanup Volunteer