How does a program get its path name?

marty Leisner.Henr at xerox.com
Sun Feb 21 08:01:17 AEST 1988


How does an exec program get the pathname it was execed from if it wants to find
out this information?

(I'm specifically asking how cc knows to looks at ../lib for the compiler
passes).

marty
ARPA:	leisner.henr at xerox.com
GV:  leisner.henr
NS:  martin leisner:henr801c:xerox



More information about the Comp.unix.questions mailing list