sigreturn.2: glibc has a simple wrapper for sigreturn() that returns ENOSYS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-10-06 14:14:02 +02:00
parent 8a3f19c369
commit d03e0ad324
1 changed files with 8 additions and 0 deletions

View File

@ -79,6 +79,14 @@ exists only to allow the implementation of signal handlers.
It should
.B never
be called directly.
(Indeed, a simple
.BR sigreturn ()
.\" See sysdeps/unix/sysv/linux/sigreturn.c and
.\" signal/sigreturn.c in the glibc source
wrapper in the GNU C library simply returns -1, with
.I errno
set to
.BR ENOSYS .)
Details of the arguments (if any) passed to
.BR sigreturn ()
vary depending on the architecture.