Newsgroups: comp.unix.internals
Path: utzoo!utgpu!watserv1!watmath!mks.com!mks!eric
From: eric@mks.mks.com (Eric Gisin)
Subject: Re: replacement getwd(3).
Sender: eric@mks.com (Eric Gisin)
References: <1431@carol.fwi.uva.nl> <ERIC.90Nov7131425@femto.mks.com>
Followup-To: comp.unix.internals
In-Reply-To: eric@mks.com's message of 7 Nov 90 13:14:25
Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
Date: 7 Nov 90 18:38:02
Message-ID: <ERIC.90Nov7183803@mks.mks.com>

In some article I write:
. Ideally none would break, because any properly written program
. on SysV or SunOS would use getcwd(), not getwd().

Looking at the Sun man page reveals that getcwd uses popen /bin/pwd
while getwd does things directly. That was stupid of me,
to think that Sun would implement things the obvious, efficient way.
