inclued/stdio.h: popen()/pclose() are not available in KERNEL mode because they depend on task_spawn() which is not available in KERNEL mode.
This commit is contained in:
parent
5a23ca37b1
commit
0e5b02552a
@ -211,7 +211,7 @@ int remove(FAR const char *path);
|
||||
* apps/system/open for implementation.
|
||||
*/
|
||||
|
||||
#ifndef __KERNEL__
|
||||
#if !defined(CONFIG_BUILD_KERNEL) && !defined(__KERNEL__)
|
||||
FILE *popen(FAR const char *command, FAR const char *mode);
|
||||
int pclose(FILE *stream);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user