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 It should
.B never .B never
be called directly. 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 Details of the arguments (if any) passed to
.BR sigreturn () .BR sigreturn ()
vary depending on the architecture. vary depending on the architecture.