summaryrefslogtreecommitdiff
path: root/nuttx/sched/sig_fillset.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sig_fillset.c')
-rw-r--r--nuttx/sched/sig_fillset.c51
1 files changed, 25 insertions, 26 deletions
diff --git a/nuttx/sched/sig_fillset.c b/nuttx/sched/sig_fillset.c
index 2159c380c..d315c0d63 100644
--- a/nuttx/sched/sig_fillset.c
+++ b/nuttx/sched/sig_fillset.c
@@ -1,7 +1,7 @@
-/************************************************************
- * sig_fillset.c
+/****************************************************************************
+ * sched/sig_fillset.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,57 +31,56 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <signal.h>
-/************************************************************
+/****************************************************************************
* Definitions
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Type Declarations
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Global Variables
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Variables
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Private Function Prototypes
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Publics Functioins
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
+/****************************************************************************
* Function: sigfillset
*
* Description:
- * This function initializes the signal set specified by
- * set such that all signals are included.
+ * This function initializes the signal set specified by set such that all
+ * signals are included.
*
* Parameters:
* set - Signal set to initalize
*
* Return Value:
- * 0 (OK), or -1 (ERROR) if the signal set cannot be
- * initialized.
+ * 0 (OK), or -1 (ERROR) if the signal set cannot be initialized.
*
* Assumptions:
*
- ************************************************************/
+ ****************************************************************************/
-int sigfillset(sigset_t *set)
+int sigfillset(FAR sigset_t *set)
{
*set = ALL_SIGNAL_SET;
return OK;