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



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

.