source: rtems/cpukit/posix/src/sigprocmask.c @ 811fae1

4.104.114.84.95
Last change on this file since 811fae1 was 07d880f4, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/99 at 20:45:31

Split psignal.c into many more files. This reduced the amount of
object code that has to be loaded just for initializing the signal
manager.

  • Property mode set to 100644
File size: 822 bytes
Line 
1/*
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-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17
18#include <pthread.h>
19#include <signal.h>
20#include <errno.h>
21
22#include <rtems/system.h>
23#include <rtems/posix/pthread.h>
24#include <rtems/posix/psignal.h>
25
26int sigprocmask(
27  int               how,
28  const sigset_t   *set,
29  sigset_t         *oset
30)
31{
32  /*
33   *  P1003.1c/Draft 10, p. 38 maps sigprocmask to pthread_sigmask.
34   */
35
36  return pthread_sigmask( how, set, oset );
37}
Note: See TracBrowser for help on using the repository browser.