revert between 56095 -> 55830 in arch
[AROS.git] / compiler / posixc / sigprocmask.c
blob338221a3a23cee0dcdc9fb7eaa7a5437b3b621ed
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function sigprocmask().
6 */
8 #include <aros/debug.h>
9 #include <errno.h>
11 /*****************************************************************************
13 NAME */
15 #include <signal.h>
17 int sigprocmask (
19 /* SYNOPSIS */
20 int how,
21 const sigset_t *set,
22 sigset_t *oldset)
24 /* FUNCTION
25 Allow the caller to examine or change (or both) the
26 signal mask of the calling thread.
28 INPUTS
30 RESULT
32 NOTES
33 Not implemented.
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 /* TODO: Implement sigprocmask() */
46 AROS_FUNCTION_NOT_IMPLEMENTED("posixc");
47 errno = ENOSYS;
49 return -1;
50 } /* sigprocmask */