Contents of argv[0]

Gisle Hannemyr gisle at ifi.uio.no
Sat Aug 19 23:58:48 AEST 1989


gandalf at csli.Stanford.EDU (Juergen Wagner) wrote:
> This effectively means that in general, argv[0] cannot
> be treated as a reliable source for the path name! [RTFM]

Is there anything that can be relied upon for this?
I want to know which directory the executable file resided in.

- gisle hannemyr  (Norwegian Computing Center)
  X.400: gisle at nr.uninett
  RFC:   gisle at ifi.uio.no
  UUCP:  ..!mcvax!ifi!gisle
------------------------------------------------



More information about the Comp.lang.c mailing list