Fix typos in comments
This commit is contained in:
parent
23b30f7930
commit
882c82a038
@ -75,7 +75,7 @@
|
|||||||
*
|
*
|
||||||
* This non-standard interface is included as a official NuttX API only
|
* This non-standard interface is included as a official NuttX API only
|
||||||
* because it is needed in certain build modes: exec() is probably the
|
* 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
|
* APIs rely on a symbol table provided by the OS. In the PROTECTED build
|
||||||
* mode, the OS cannot provide any meaningful symbolic information for
|
* mode, the OS cannot provide any meaningful symbolic information for
|
||||||
* execution of code in the user-space blob so that is the exec() function
|
* 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
|
* 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
|
* really necessary in that case. It is currently used by some example
|
||||||
* code under the apps/ that that generate their own symbol tables for
|
* 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.
|
* be useful.
|
||||||
*
|
*
|
||||||
* The interface would be completely useless and will not be supported in
|
* The interface would be completely useless and will not be supported in
|
||||||
* in the KERNEL build mode where the contrary is true: An application
|
* 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.
|
* linking a different process.
|
||||||
*
|
*
|
||||||
* NOTE: This function is flawed and useless without CONFIG_BINFMT_LOADABLE
|
* NOTE: This function is flawed and useless without CONFIG_BINFMT_LOADABLE
|
||||||
|
@ -154,7 +154,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
|
|||||||
return -EACCES;
|
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.
|
* so the 'relpath' must be the name of the builtin function.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -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
|
/* 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.
|
* next path in the list, or (2) NUL which marks the end of the list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user