mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line
This commit is contained in:
@@ -45,11 +45,11 @@
|
||||
* Global Functions
|
||||
****************************************************************************/
|
||||
|
||||
char *strstr(const char *str, const char *substr)
|
||||
FAR char *strstr(FAR const char *str, FAR const char *substr)
|
||||
{
|
||||
const char *candidate; /* Candidate in str with matching start character */
|
||||
char ch; /* First character of the substring */
|
||||
int len; /* The length of the substring */
|
||||
FAR const char *candidate; /* Candidate in str with matching start character */
|
||||
char ch; /* First character of the substring */
|
||||
int len; /* The length of the substring */
|
||||
|
||||
/* Special case the empty substring */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user