Mail Archives: djgpp/1994/03/28/15:29:12
>
>Also, I think UNIX C runtime libraries DON'T put the full path name in
>argv[0]. Argv[0] contains whatever the program that called exec()
>puts in it. On UNIX, ksh seems to put whatever the user typed, not
>the fully qualified path. I don't know about other shells.
>
likewise under bash on SunOs 4.1, argv[0] contains the name of the
program as it was invoked, not its full pathname.
ed
--
Explosions are compressions of time. --- Frank Herbert
ed -- gilligan AT cs1 DOT bradley DOT edu
- Raw text -