source: rtems/cpukit/posix/src/sigprocmask.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 744 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-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.rtems.com/license/LICENSE.
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <pthread.h>
19#include <signal.h>
20
21int sigprocmask(
22  int               how,
23  const sigset_t   *set,
24  sigset_t         *oset
25)
26{
27  /*
28   *  P1003.1c/Draft 10, p. 38 maps sigprocmask to pthread_sigmask.
29   */
30
31#if defined(RTEMS_POSIX_API)
32  return pthread_sigmask( how, set, oset );
33#else
34  return -1;
35#endif
36}
Note: See TracBrowser for help on using the repository browser.