The on-line copy of the manual page "posixoptions(7)" dated 2018-04-30 has an entry for "getcwd()" in the section headed "XSI - _XOPEN_LEGACY - _SC_XOPEN_LEGACY". I believe that entry should be "getwd()" as that is the API call which was present in X/Open-6 but withdrawn in X/Open-7. Regards - Alan Alan Peakall Senior Software Engineer e. alan.peakall@xxxxxxxxxxxxxxx p. 44 (0)1252 618006 w. www.helpsystems.com Northern European Headquarters: Sentinel House, Building B, Harvest Crescent, Fleet, Hampshire GU51 2UZ Help/Systems International Limited. Registered in England and Wales. Registered number: 4172068. Registered Office: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, United Kingdom, WA14 2DT