OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [posix/] [src/] [sigprocmask.c] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
2
 *  3.3.5 Examine and Change Blocked Signals, P1003.1b-1993, p. 73
3
 *
4
 *  NOTE: P1003.1c/D10, p. 37 adds pthread_sigmask().
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13 208 chris
 *  $Id: sigprocmask.c,v 1.2 2001-09-27 11:59:17 chris Exp $
14 158 chris
 */
15
 
16
 
17
#include <pthread.h>
18
#include <signal.h>
19
#include <errno.h>
20
 
21
#include <rtems/system.h>
22
#include <rtems/posix/pthread.h>
23
#include <rtems/posix/psignal.h>
24
 
25
int sigprocmask(
26
  int               how,
27
  const sigset_t   *set,
28
  sigset_t         *oset
29
)
30
{
31
  /*
32
   *  P1003.1c/Draft 10, p. 38 maps sigprocmask to pthread_sigmask.
33
   */
34
 
35
  return pthread_sigmask( how, set, oset );
36
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.