2003-02-24 Roland McGrath <roland@redhat.com>

* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
This commit is contained in:
Roland McGrath 2003-02-24 22:35:53 +00:00
parent 20c54fe445
commit d102d69999

View File

@ -19,6 +19,7 @@
#include <signal.h>
#include <unistd.h>
#include <sysdep-cancel.h>
/* Suspend the process until a signal arrives.
This always returns -1 and sets errno to EINTR. */
@ -36,3 +37,5 @@ __libc_pause (void)
return __sigsuspend (&set);
}
weak_alias (__libc_pause, pause)
LIBC_CANCEL_HANDLED (); /* sigsuspend handles our cancellation. */