/* This function will examines the signal mask of the calling thread.  */
int sigpending(sigset_t *set)
/* This function will examines the signal mask of the calling thread.  */
int sigpending(sigset_t *set)
{
    sigprocmask(SIG_SETMASK, RT_NULL, set);
    return 0;
}