Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bria!mike Newsgroups: comp.lang.c Subject: Re: Strings as function names (again) Message-ID: <435@bria> Date: 14 Feb 91 06:46:04 GMT References: <388@bria> <14972@smoke.brl.mil> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 13 In an article, akela.informatik.rwth-aachen.de!wolfram (Wolfram Roesler) writes: |Using execl or some other syscall to make argv[0] be completely different |from the bin path is very rarely used (calling login shells is the only |example that comes to my mind). [...] Well, most programs that exec only hand the basename of the image to argv[0], although it would be a wonderful world if they provided the full path. Of course, it _is_ extremely poor taste to pass anything other than the image name in argv[0], but it is ocassionally done. Just can't depend on anything these days ... :-) -- Michael Stefanik | Opinions stated are not even my own. Systems Engineer, Briareus Corporation | UUCP: ...!uunet!bria!mike ------------------------------------------------------------------------------- technoignorami (tek'no-ig'no-ram`i) a group of individuals that are constantly found to be saying things like "Well, it works on my DOS machine ..."