Path: utzoo!censor!geac!yunexus!stpl!bbm!darcy From: darcy@bbm.UUCP (D'Arcy Cain) Newsgroups: comp.lang.c Subject: Re: Contents of argv[0] Summary: So write a new basename for each system Keywords: start-up code, argv specifications Message-ID: <781@bbm.UUCP> Date: 19 Aug 89 05:11:08 GMT References: <9002@attctc.Dallas.TX.US> <10743@smoke.BRL.MIL> <5712@ficc.uu.net> Organization: BBM Bureau of Measurement, Toronto Lines: 12 In article <5712@ficc.uu.net>, peter@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@telly.on.ca)