libs/README.txt: Fix a typo

Also, remove an extra space.
This commit is contained in:
YAMAMOTO Takashi 2020-01-27 13:54:02 +09:00 committed by Alin Jerpelea
parent 2d51ecbbaa
commit e02c14a926

View File

@ -2,7 +2,7 @@ README
====== ======
This directory holds NuttX libraries. Libraries in NuttX are very special This directory holds NuttX libraries. Libraries in NuttX are very special
creatures. The have these properties: creatures. They have these properties:
1. They can be shared by both application logic and logic within the OS when 1. They can be shared by both application logic and logic within the OS when
using the FLAT build. using the FLAT build.
@ -19,7 +19,7 @@ creatures. The have these properties:
For example, sem_wait() is both a cancellation point and modifies the For example, sem_wait() is both a cancellation point and modifies the
errno value. So within the FLAT build and without kernel version for errno value. So within the FLAT build and without kernel version for
the PROTECTED and KERNEL builds, the special internal OS interface the PROTECTED and KERNEL builds, the special internal OS interface
nxsem_wait() must be used. Within libraries, the macro _SEM_WAIT() nxsem_wait() must be used. Within libraries, the macro _SEM_WAIT()
(as defined in include/nuttx/semaphore.h) is used instead. The (as defined in include/nuttx/semaphore.h) is used instead. The
definition of this macro accounts for the different usage environments. definition of this macro accounts for the different usage environments.