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>
This commit is contained in:
Alejandro Colomar 2021-07-28 22:19:41 +02:00 committed by Michael Kerrisk
parent f5dfd9a032
commit 20c2c5ced3
1 changed files with 1 additions and 1 deletions

View File

@ -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 ()