From f72969a662f67ce47e870e9cc27a933fe90e8782 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 29 Dec 2012 22:57:54 +0100 Subject: [PATCH] Add sigset_t. --- sortix/include/sortix/sigset.h | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sortix/include/sortix/sigset.h diff --git a/sortix/include/sortix/sigset.h b/sortix/include/sortix/sigset.h new file mode 100644 index 00000000..05b1d135 --- /dev/null +++ b/sortix/include/sortix/sigset.h @@ -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 . + + sortix/sigset.h + Declaration of the sigset_t structure. + +*******************************************************************************/ + +#ifndef INCLUDE_SORTIX_SIGSET_H +#define INCLUDE_SORTIX_SIGSET_H + +#include + +__BEGIN_DECLS + +typedef struct +{ + unsigned long __val[(1024 / (8 * sizeof (unsigned long int)))]; +} sigset_t; + +__END_DECLS + +#endif