How does a program get its path name?

John Stafford jws at hpcllf.HP.COM
Tue Feb 23 12:19:41 AEST 1988


The name a program was invoked under is in argv[0]; that may (or more
likely may not) contain the "full" path name.



More information about the Comp.unix.questions mailing list