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 basename

That would be one way. There are no doubt others.

--
Brian Raven

.



Relevant Pages

  • Re: split a /path/filename into components
    ... I think dos has one called fnsplit but i cant seem to ... find an equal in the linux world ... man 3 dirname ...
    (comp.os.linux.development.apps)
  • Re: split a /path/filename into components
    ... I think dos has one called fnsplit but i cant seem to find ... an equal in the linux world ...
    (comp.os.linux.development.apps)
  • Re: split a /path/filename into components
    ... I think dos has one called fnsplit but i cant seem to find ... an equal in the linux world ...
    (comp.os.linux.development.apps)
  • Re: split a /path/filename into components
    ... I think dos has one called fnsplit but i cant seem to find ... an equal in the linux world ... int main{ ...
    (comp.os.linux.development.apps)
  • Re: CD Problem
    ... I have tried this on numerous CD's so it cant be the disk. ... This was one of the things that bugged me about Linux at first but then I read ... Once I understood the reason *why*, ... Kevin & Theresa Miller ...
    (alt.os.linux.suse)