Inside PWD

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Oct 17 16:04:47 AEST 1989


In article <12291 at ulysses.homer.nj.att.com> gsf at ulysses.homer.nj.att.com (Glenn Fowler[drew]) writes:
>the environment c.w.d. can be verified by two quick stat()'s at the top of
>getcwd():

Yes, it could, but when the stat check fails then you'd have to resort
to one of the other methods; getenv("PWD") in itself is insufficient.



More information about the Comp.unix.wizards mailing list