File:  [DVB] / dietlibc / libpthread / pthread_sigaction.c
Revision 1.1: download - view: text, annotated - select for diffs
Mon Aug 18 17:32:53 2003 UTC (20 years, 9 months ago) by sanjiyan
Branches: MAIN
CVS tags: HEAD
- checkin of the new libpthread
- add confstr

#include <unistd.h>

#include <pthread.h>
#include "thread_internal.h"

int sigaction(int signum,const struct sigaction*act,struct sigaction*old) {
  if ((signum==PTHREAD_SIG_RESTART)||(signum==PTHREAD_SIG_CANCEL)) {
    _errno_=EINVAL;
    return -1;
  }
  return __libc_sigaction(signum,act,old);
}


LinuxTV legacy CVS <linuxtv.org/cvs>