Re: split a /path/filename into components
- From: Rikishi 42 <fsck_spam@xxxxxxxxxx>
- Date: Fri, 25 Aug 2006 11:27:10 +0200
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
I'm working with Python mostly lately, so memory isn't fresh...
But wasn't there a strtok() function in C, that would split a string, based
on a given char ? Us '/' as that char, and you should be fine.
--
Research is what I'm doing, when I don't know what I'm doing.
(von Braun)
.
- Follow-Ups:
- Re: split a /path/filename into components
- From: Josef Moellers
- Re: split a /path/filename into components
- Prev by Date: Re: what does 'bis' mean in RFC title?
- Next by Date: Re: split a /path/filename into components
- Previous by thread: Re: split a /path/filename into components
- Next by thread: Re: split a /path/filename into components
- Index(es):
Relevant Pages
|