[Kernel] Change command line to const parameter and add system() function.

This commit is contained in:
bernard
2014-04-02 14:05:15 +08:00
parent 6469a5a3d1
commit 8bd3e6f6dc
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -421,7 +421,7 @@ rt_module_t rt_module_load(const char *name, void *module_ptr);
rt_err_t rt_module_unload(rt_module_t module);
#ifdef RT_USING_DFS
rt_module_t rt_module_open(const char *filename);
rt_module_t rt_module_exec_cmd(const char *path, char* cmd_line, int size);
rt_module_t rt_module_exec_cmd(const char *path, const char* cmd_line, int size);
#endif
void *rt_module_malloc(rt_size_t size);
void *rt_module_realloc(void *ptr, rt_size_t size);