From bff30ff9bc5a537959f98453ac6b34a493413995 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 23 Aug 2019 11:57:35 -0600 Subject: [PATCH] Fix minor typo / copy-paste. 'cancellaction point'->'cancellation point' --- include/nuttx/mqueue.h | 10 +++++----- include/nuttx/semaphore.h | 4 ++-- include/nuttx/signal.h | 2 +- sched/mqueue/mq_receive.c | 2 +- sched/mqueue/mq_send.c | 2 +- sched/mqueue/mq_timedreceive.c | 2 +- sched/mqueue/mq_timedsend.c | 2 +- sched/semaphore/sem_timedwait.c | 2 +- sched/semaphore/sem_wait.c | 2 +- sched/signal/sig_sleep.c | 2 +- sched/signal/sig_timedwait.c | 2 +- sched/signal/sig_usleep.c | 2 +- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/include/nuttx/mqueue.h b/include/nuttx/mqueue.h index b0bb713ac7..0fb6d09848 100644 --- a/include/nuttx/mqueue.h +++ b/include/nuttx/mqueue.h @@ -159,7 +159,7 @@ struct task_group_s; /* Forward reference */ * (mqdes). This is an internal OS interface. It is functionally * equivalent to mq_send() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_send() for a more complete description of the @@ -195,7 +195,7 @@ int nxmq_send(mqd_t mqdes, FAR const char *msg, size_t msglen,\ * nxmq_timedsend() is functionally equivalent to mq_timedsend() except * that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_timedsend() for a more complete description of the @@ -224,7 +224,7 @@ int nxmq_send(mqd_t mqdes, FAR const char *msg, size_t msglen,\ * ****************************************************************************/ -int nxmq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen, +int nxmq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen, unsigned int prio, FAR const struct timespec *abstime); /**************************************************************************** @@ -235,7 +235,7 @@ int nxmq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen, * from the message queue specified by "mqdes." This is an internal OS * interface. It is functionally equivalent to mq_receive except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_receive() for a more complete description of the @@ -270,7 +270,7 @@ ssize_t nxmq_receive(mqd_t mqdes, FAR char *msg, size_t msglen, * nxmq_timedreceive() is an internal OS interface. It is functionally * equivalent to mq_timedreceive() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_timedreceive() for a more complete description of diff --git a/include/nuttx/semaphore.h b/include/nuttx/semaphore.h index 0b0fc8dbf6..b30a051472 100644 --- a/include/nuttx/semaphore.h +++ b/include/nuttx/semaphore.h @@ -204,7 +204,7 @@ int nxsem_destroy (FAR sem_t *sem); * This is an internal OS interface. It is functionally equivalent to * sem_wait except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: @@ -268,7 +268,7 @@ int nxsem_trywait(FAR sem_t *sem); * This is an internal OS interface. It is functionally equivalent to * sem_wait except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: diff --git a/include/nuttx/signal.h b/include/nuttx/signal.h index 5e22064b08..0146c5e718 100644 --- a/include/nuttx/signal.h +++ b/include/nuttx/signal.h @@ -319,7 +319,7 @@ int nxsig_kill(pid_t pid, int signo); * This is an internal OS interface. It is functionally equivalent to * sigtimedwait() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: diff --git a/sched/mqueue/mq_receive.c b/sched/mqueue/mq_receive.c index 626dfd7106..afc8a12e09 100644 --- a/sched/mqueue/mq_receive.c +++ b/sched/mqueue/mq_receive.c @@ -64,7 +64,7 @@ * from the message queue specified by "mqdes." This is an internal OS * interface. It is functionally equivalent to mq_receive except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_receive() for a more complete description of the diff --git a/sched/mqueue/mq_send.c b/sched/mqueue/mq_send.c index c65925259c..79b6c10d78 100644 --- a/sched/mqueue/mq_send.c +++ b/sched/mqueue/mq_send.c @@ -62,7 +62,7 @@ * (mqdes). This is an internal OS interface. It is functionally * equivalent to mq_send() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_send() for a more complete description of the diff --git a/sched/mqueue/mq_timedreceive.c b/sched/mqueue/mq_timedreceive.c index 14ecc9966c..e0e43d6b66 100644 --- a/sched/mqueue/mq_timedreceive.c +++ b/sched/mqueue/mq_timedreceive.c @@ -129,7 +129,7 @@ static void nxmq_rcvtimeout(int argc, wdparm_t pid) * nxmq_timedreceive() is an internal OS interface. It is functionally * equivalent to mq_timedreceive() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_timedreceive() for a more complete description of diff --git a/sched/mqueue/mq_timedsend.c b/sched/mqueue/mq_timedsend.c index dc9f851d40..2c5d036b50 100644 --- a/sched/mqueue/mq_timedsend.c +++ b/sched/mqueue/mq_timedsend.c @@ -128,7 +128,7 @@ static void nxmq_sndtimeout(int argc, wdparm_t pid) * nxmq_timedsend() is functionally equivalent to mq_timedsend() except * that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See comments with mq_timedsend() for a more complete description of the diff --git a/sched/semaphore/sem_timedwait.c b/sched/semaphore/sem_timedwait.c index 0365af79b6..bcd28c6f58 100644 --- a/sched/semaphore/sem_timedwait.c +++ b/sched/semaphore/sem_timedwait.c @@ -79,7 +79,7 @@ * This is an internal OS interface. It is functionally equivalent to * sem_wait except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: diff --git a/sched/semaphore/sem_wait.c b/sched/semaphore/sem_wait.c index d43fd7bbbf..59244abae5 100644 --- a/sched/semaphore/sem_wait.c +++ b/sched/semaphore/sem_wait.c @@ -66,7 +66,7 @@ * This is an internal OS interface. It is functionally equivalent to * sem_wait except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: diff --git a/sched/signal/sig_sleep.c b/sched/signal/sig_sleep.c index b7098a23d2..1230a1422b 100644 --- a/sched/signal/sig_sleep.c +++ b/sched/signal/sig_sleep.c @@ -62,7 +62,7 @@ * This is an internal OS interface. It is functionally equivalent to * the standard sleep() application interface except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - There is no check that the action of the signal is to invoke a * signal-catching function or to terminate the process. * diff --git a/sched/signal/sig_timedwait.c b/sched/signal/sig_timedwait.c index b43f7150df..ff7ea3716b 100644 --- a/sched/signal/sig_timedwait.c +++ b/sched/signal/sig_timedwait.c @@ -218,7 +218,7 @@ void nxsig_wait_irq(FAR struct tcb_s *wtcb, int errcode) * This is an internal OS interface. It is functionally equivalent to * sigtimedwait() except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * Input Parameters: diff --git a/sched/signal/sig_usleep.c b/sched/signal/sig_usleep.c index b2b65d949d..a46fd66a99 100644 --- a/sched/signal/sig_usleep.c +++ b/sched/signal/sig_usleep.c @@ -64,7 +64,7 @@ * This is an internal OS interface. It is functionally equivalent to * the standard nxsig_usleep() application interface except that: * - * - It is not a cancellaction point, and + * - It is not a cancellation point, and * - It does not modify the errno value. * * See the description of usleep() for additional information that is not