mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
Add interfaces to dynamically change symbol tables used by posix_spawn, execv, and execl. This is needed for testing.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5506 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -165,6 +165,12 @@ EXTERN int rmdir(FAR const char *pathname);
|
||||
#ifdef CONFIG_LIBC_EXECFUNCS
|
||||
EXTERN int execl(FAR const char *path, ...);
|
||||
EXTERN int execv(FAR const char *path, FAR char *const argv[]);
|
||||
|
||||
/* Non-standard functions to manage symbol tables */
|
||||
|
||||
struct symtab_s; /* See include/nuttx/binfmt/symtab.h */
|
||||
EXTERN void exec_getsymtab(FAR struct symtab_s **symtab, FAR int *nsymbols);
|
||||
EXTERN void exec_setsymtab(FAR const struct symtab_s *symtab, int nsymbols);
|
||||
#endif
|
||||
|
||||
/* Other */
|
||||
|
||||
Reference in New Issue
Block a user