source: rtems/testsuites/libtests/POSIX/sigprocmask.c @ 60d47ab

4.104.115
Last change on this file since 60d47ab was 60d47ab, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/09 at 15:00:05

New.

  • Property mode set to 100644
File size: 464 bytes
Line 
1/*
2 * Copyright (c) 2009 by
3 * Ralf Corsépius, Ulm, Germany. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software
6 * is freely granted, provided that this notice is preserved.
7 */
8
9#include <signal.h>
10
11int
12main (void)
13{
14  int status;
15  sigset_t set1, set2;
16
17  status = sigprocmask (SIG_BLOCK, &set1, &set2);
18  status = sigprocmask (SIG_UNBLOCK, &set1, &set2);
19  status = sigprocmask (SIG_SETMASK, &set1, &set2);
20
21  return 0;
22}
Note: See TracBrowser for help on using the repository browser.