Contents of argv[0]

D'Arcy Cain darcy at bbm.UUCP
Sat Aug 19 15:11:08 AEST 1989


In article <5712 at ficc.uu.net>, peter at ficc.uu.net (Peter da Silva) writes:
> File names can be most greivously complex. I've run into the following:
> 
> [examples]

That should be no problem for a basename routine.  The whole point of
the function is to tailor it to the OS/hardware it is running on.  It
is so trivial really that writing this one function on each system you
want to port to can simplify your programming.

D'Arcy J.M. Cain
(darcy\@bbm, cain!darcy at telly.on.ca)



More information about the Comp.lang.c mailing list