Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c Subject: Re: Strings as function names (again) Message-ID: <596@taumet.com> Date: 9 Feb 91 17:48:51 GMT References: <388@bria> <14972@smoke.brl.mil> Organization: Taumetric Corporation, San Diego Lines: 16 wolfram@ikki.informatik.rwth-aachen.de (Wolfram Roesler) writes: >gwyn@smoke.brl.mil (Doug Gwyn) writes: >>One is that you have to tell it a path to the executable file, and >>that is not in general available for the currently-executing process. >Sure? How about argv[0] ? How about it? In an ANSI-conforming implementation (2.1.2.2.1): a. argc may be 0, and argv a null pointer. b. argv[0] may point to a null character. c. argv[0] may contain the program name with no path information. -- Steve Clamage, TauMetric Corp, steve@taumet.com