Fix typos in comments

This commit is contained in:
YAMAMOTO Takashi 2020-02-12 22:04:00 +09:00 committed by Alin Jerpelea
parent 23b30f7930
commit 882c82a038
3 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@
*
* This non-standard interface is included as a official NuttX API only
* because it is needed in certain build modes: exec() is probably the
* only want to load programs in the PROTECTED mode. Other file execution
* only way to load programs in the PROTECTED mode. Other file execution
* APIs rely on a symbol table provided by the OS. In the PROTECTED build
* mode, the OS cannot provide any meaningful symbolic information for
* execution of code in the user-space blob so that is the exec() function
@ -84,12 +84,12 @@
* The interface is available in the FLAT build mode although it is not
* really necessary in that case. It is currently used by some example
* code under the apps/ that that generate their own symbol tables for
* linking test programs. So althought it is not necessary, it can still
* linking test programs. So although it is not necessary, it can still
* be useful.
*
* The interface would be completely useless and will not be supported in
* in the KERNEL build mode where the contrary is true: An application
* process cannot provide any meaning symbolic information for use in
* process cannot provide any meaningful symbolic information for use in
* linking a different process.
*
* NOTE: This function is flawed and useless without CONFIG_BINFMT_LOADABLE

View File

@ -154,7 +154,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
return -EACCES;
}
/* Check if the an entry exists with this name in the root directory.
/* Check if the entry exists with this name in the root directory.
* so the 'relpath' must be the name of the builtin function.
*/

View File

@ -198,7 +198,7 @@ FAR char *envpath_next(ENVPATH_HANDLE handle, FAR const char *relpath)
}
/* Okay... 'path' points to the beginning of the string. The string may
* be termined either with (1) ':' which separates the path from the
* be terminated either with (1) ':' which separates the path from the
* next path in the list, or (2) NUL which marks the end of the list.
*/