This function is a cancellation point and therefore not marked with
__THROW. */
extern int __sigpause (int __sig_or_mask, int __is_sig);
-libc_hidden_proto(__sigpause)
#ifdef __FAVOR_BSD
/* Set the mask of blocked signals to MASK,
/* Set the mask of blocked signals to MASK,
wait for a signal to arrive, and then restore the mask. */
-int __sigpause (int sig_or_mask, int is_sig)
+static int __internal_sigpause (int sig_or_mask, int is_sig)
{
sigset_t set;
to do anything here. */
return sigsuspend (&set);
}
-libc_hidden_def(__sigpause)
+strong_alias(__internal_sigpause,__sigpause)
#undef sigpause
{
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
if (SINGLE_THREAD_P)
- return __sigpause (mask, 0);
+ return __internal_sigpause (mask, 0);
int oldtype = LIBC_CANCEL_ASYNC ();
- int result = __sigpause (mask, 0);
+ int result = __internal_sigpause (mask, 0);
LIBC_CANCEL_RESET (oldtype);
return result;
#else
- return __sigpause (mask, 0);
+ return __internal_sigpause (mask, 0);
#endif
}