replacement getwd(3).

Eric Gisin eric at mks.mks.com
Wed Nov 7 18:38:02 AEST 1990


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.



More information about the Comp.unix.internals mailing list