diff --git a/Documentation/reference/user/07_signals.rst b/Documentation/reference/user/07_signals.rst index b396905cfe..37ab6fabaa 100644 --- a/Documentation/reference/user/07_signals.rst +++ b/Documentation/reference/user/07_signals.rst @@ -277,7 +277,7 @@ provided by NuttX: If sigprocmask() fails, the signal mask of the task is not changed. - :param how: How the signal mast will be changed. + :param how: How the signal mask will be changed. - ``SIG_BLOCK`` The resulting set is the union of the current set and the signal set pointed to by the ``set`` input parameter. - ``SIG_UNBLOCK`` The resulting set is the intersection of the current set and the complement of the signal set pointed to by the ``set`` input parameter. - ``SIG_SETMASK`` The resulting set is the signal set pointed to by the ``set`` input parameter. diff --git a/Documentation/reference/user/08_pthread.rst b/Documentation/reference/user/08_pthread.rst index ccab1e4da2..b2c3ece6b0 100644 --- a/Documentation/reference/user/08_pthread.rst +++ b/Documentation/reference/user/08_pthread.rst @@ -1689,7 +1689,7 @@ No support for the following pthread interfaces is provided by NuttX: **Input Parameters:** - - ``how``. How the signal mast will be changed: + - ``how``. How the signal mask will be changed: - ``SIG_BLOCK``: The resulting set is the union of the current set and the signal set pointed to by ``set``. diff --git a/include/nuttx/signal.h b/include/nuttx/signal.h index cf078e69aa..bc57ab6b69 100644 --- a/include/nuttx/signal.h +++ b/include/nuttx/signal.h @@ -205,7 +205,7 @@ int nxsig_delset(FAR sigset_t *set, int signo); * sigprocmask() except that it does not modify the errno value. * * Input Parameters: - * how - How the signal mast will be changed: + * how - How the signal mask will be changed: * SIG_BLOCK - The resulting set is the union of the current set * and the signal set pointed to by 'set'. * SIG_UNBLOCK - The resulting set is the intersection of the current diff --git a/sched/pthread/pthread_sigmask.c b/sched/pthread/pthread_sigmask.c index 891da589fe..7c6097a772 100644 --- a/sched/pthread/pthread_sigmask.c +++ b/sched/pthread/pthread_sigmask.c @@ -59,7 +59,7 @@ * information. * * Input Parameters: - * how - How the signal mast will be changed: + * how - How the signal mask will be changed: * SIG_BLOCK - The resulting set is the union of * the current set and the signal set * pointed to by 'set'. diff --git a/sched/signal/sig_procmask.c b/sched/signal/sig_procmask.c index 204ec86af6..a0b9d41745 100644 --- a/sched/signal/sig_procmask.c +++ b/sched/signal/sig_procmask.c @@ -81,7 +81,7 @@ * sigprocmask() except that it does not modify the errno value. * * Input Parameters: - * how - How the signal mast will be changed: + * how - How the signal mask will be changed: * SIG_BLOCK - The resulting set is the union of the current set * and the signal set pointed to by 'set'. * SIG_UNBLOCK - The resulting set is the intersection of the current @@ -186,7 +186,7 @@ int nxsig_procmask(int how, FAR const sigset_t *set, FAR sigset_t *oset) * by this function call. * * Input Parameters: - * how - How the signal mast will be changed: + * how - How the signal mask will be changed: * SIG_BLOCK - The resulting set is the union of the current set * and the signal set pointed to by 'set'. * SIG_UNBLOCK - The resulting set is the intersection of the current