27 lines
741 B
Plaintext
27 lines
741 B
Plaintext
@node setcontext
|
|
@section @code{setcontext}
|
|
@findex setcontext
|
|
|
|
Removed in POSIX.1-2008.
|
|
POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/setcontext.html}
|
|
|
|
Gnulib module: ---
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
OpenBSD 7.5, Cygwin 1.7.x, mingw, MSVC 14, Android 9.0.
|
|
@item
|
|
The effects of this call are system and compiler optimization dependent,
|
|
since it restores the contents of register-allocated variables but not
|
|
the contents of stack-allocated variables.
|
|
@end itemize
|
|
|
|
Note: A third-party implementation is available at
|
|
@url{https://github.com/kaniini/libucontext/}.
|