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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [posix/] [src/] [sigprocmask.c] - Blame information for rev 1026

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

Line No. Rev Author Line
1 1026 ivang
/*
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
 *  sigprocmask.c,v 1.3 2001/01/24 14:17:28 joel Exp
14
 */
15
 
16
#if HAVE_CONFIG_H
17
#include "config.h"
18
#endif
19
 
20
#include <pthread.h>
21
#include <signal.h>
22
#include <errno.h>
23
 
24
#include <rtems/system.h>
25
#include <rtems/posix/pthread.h>
26
#include <rtems/posix/psignal.h>
27
 
28
int sigprocmask(
29
  int               how,
30
  const sigset_t   *set,
31
  sigset_t         *oset
32
)
33
{
34
  /*
35
   *  P1003.1c/Draft 10, p. 38 maps sigprocmask to pthread_sigmask.
36
   */
37
 
38
  return pthread_sigmask( how, set, oset );
39
}

powered by: WebSVN 2.1.0

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