Strings as function names (again)
Henry Spencer
henry at zoo.toronto.edu
Sat Feb 9 05:04:18 AEST 1991
In article <wolfram.666028267 at ikki> wolfram at ikki.informatik.rwth-aachen.de (Wolfram Roesler) 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] ?
argv[0] usually, but not always, contains the name under which the program
was invoked. That has no guaranteed relationship to its pathname.
--
"Maybe we should tell the truth?" | Henry Spencer at U of Toronto Zoology
"Surely we aren't that desperate yet." | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.lang.c
mailing list