Skip to contentSkip to conversation

man-pages: posixoptions(7)

PATCH New Alan Peakall 2 participants 2 messages Jun 14, 2021 – Jul 3, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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. [email protected]
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

#1 lore raw

PATCH 1/1 posixoptions.7: Fix legacy functions list (s/getcwd/getwd/)

Alan:

[
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. ]

---

Hi Alan,
Thanks for the report. This patch should fix it.

Hi Michael,
Please apply this patch.

Thanks,

Alex

 man7/posixoptions.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man7/posixoptions.7 +1 -1
index d2ee10302..d6882fe05 100644
@@ -968,7 +968,7 @@ The following functions are present:
 .IR fcvt ()
 .IR ftime ()
 .IR gcvt ()
-.IR getcwd ()
+.IR getwd ()
 .IR index ()
 .IR mktemp ()
 .IR rindex ()
Signature · 1 line
2.32.0