posixoptions.7: Fix legacy functions list (s/getcwd/getwd/)
commit20c2c5ced3d0c13b8d6295dc930304b60123565c
authorAlejandro Colomar <alx.manpages@gmail.com>
Wed, 28 Jul 2021 20:19:41 +0000 (28 22:19 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 8 Aug 2021 00:50:05 +0000 (8 02:50 +0200)
treef30d05a53de71e76cb3d7ae8db18d40543a39355
parentf5dfd9a0324b9f4cd04c74a7437bc9bbe8e859be
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.
]

mtk: confirmed by reviewing the table ("Removed Functions and
Symbols in Issue 7") at the end of Section B.1.1 on page
3564 of IEEE Std 1003.1, 2016 Edition.

Reported-by: Alan Peakall <Alan.Peakall@helpsystems.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/posixoptions.7