setcontext was removed in POSIX.1-2008

Bruno Haible
2024-06-28T09:26:10Z

Hi,

man/man3/getcontext.3, which describes getcontext and setcontext, says
"POSIX.1-2008 removes the specification of getcontext",
making it look like setcontext was still present in POSIX.1-2008.

It isn't. setcontext is removed as well. See
https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/xrat/V4_xsh_chap01.html
in the table "Removed Functions and Symbols in Issue 7".

It's just the rationale section
https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/xrat/V4_xsh_chap03.html
where getcontext is mentioned but setcontext was forgotten.

Bruno