Re: split a /path/filename into components
- From: "arindambose.jesus@xxxxxxxxx" <arindambose.jesus@xxxxxxxxx>
- Date: 31 Aug 2006 00:43:56 -0700
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
hi this is arindam i think u can se string token function
its syntax: strtok
just type $ man strtok u will get d relevant information
.
- Follow-Ups:
- Re: split a /path/filename into components
- From: Michael Rasmussen
- Re: split a /path/filename into components
- Prev by Date: linux programming
- Next by Date: Re: Building X11R7.1/xorg from source
- Previous by thread: Re: split a /path/filename into components
- Next by thread: Re: split a /path/filename into components
- Index(es):