Add execv() and execl(); Move lm3s header files for compatibility

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5492 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-01-08 16:25:30 +00:00
parent 3d160e45b6
commit 14f72f7a21
23 changed files with 669 additions and 123 deletions
+2 -1
View File
@@ -228,7 +228,8 @@ int exec_module(FAR const struct binary_s *bin, int priority);
*
* Description:
* This is a convenience function that wraps load_ and exec_module into
* one call.
* one call. The priority of the executed program is set to be the
* same as the priority of the calling thread.
*
* Input Parameter:
* filename - Fulll path to the binary to be loaded
+7
View File
@@ -160,6 +160,13 @@ EXTERN FAR char *getcwd(FAR char *buf, size_t size);
EXTERN int unlink(FAR const char *pathname);
EXTERN int rmdir(FAR const char *pathname);
/* Execution of programs from files */
#ifdef CONFIG_LIBC_EXECFUNCS
EXTERN int execl(FAR const char *path, ...);
EXTERN int execv(FAR const char *path, FAR char *const argv[]);
#endif
/* Other */
EXTERN int getopt(int argc, FAR char *const argv[], FAR const char *optstring);