Re: split a /path/filename into components



Eric wrote:

Is there a C library function that can take a path and break it into its
component parts? I think dos has one called fnsplit but i cant seem to
find an equal in the linux world
Thanks
Eric

man 3 dirname
man 3 basename

HTH

Bernhard

.



Relevant Pages