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.