Add sigset_t.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-12-29 22:57:54 +01:00
parent bf2c624c9b
commit f72969a662
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2012.
This file is part of Sortix.
Sortix is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
Sortix is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
Sortix. If not, see <http://www.gnu.org/licenses/>.
sortix/sigset.h
Declaration of the sigset_t structure.
*******************************************************************************/
#ifndef INCLUDE_SORTIX_SIGSET_H
#define INCLUDE_SORTIX_SIGSET_H
#include <features.h>
__BEGIN_DECLS
typedef struct
{
unsigned long __val[(1024 / (8 * sizeof (unsigned long int)))];
} sigset_t;
__END_DECLS
#endif