mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 09:49:21 +08:00
system() is not available from within the OS
This commit is contained in:
parent
1c115adfb8
commit
55a325bcd4
1 changed files with 3 additions and 1 deletions
|
@ -173,10 +173,12 @@ void _exit(int status); /* See unistd.h */
|
|||
/* System() command is not implemented in the NuttX libc because it is so
|
||||
* entangled with shell logic. There is an experimental version at
|
||||
* apps/system/system. system() is prototyped here, however, for
|
||||
* compatibility.
|
||||
* standards compatibility.
|
||||
*/
|
||||
|
||||
#ifndef __KERNEL__
|
||||
int system(FAR char *cmd);
|
||||
#endif
|
||||
|
||||
/* String to binary conversions */
|
||||
|
||||
|
|
Loading…
Reference in a new issue