diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-10 20:00:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-10 20:00:08 +0000 |
commit | 6f241ed0443cc265d7a079f4bbf8d2d67be939ff (patch) | |
tree | 5569ea3f8d36e779ad92b6b935ff75f86a6344c7 /nuttx/include | |
parent | 9f8f8fc6dc5c2057f61fe04bf1109a8590ef93d0 (diff) | |
download | px4-firmware-6f241ed0443cc265d7a079f4bbf8d2d67be939ff.tar.gz px4-firmware-6f241ed0443cc265d7a079f4bbf8d2d67be939ff.tar.bz2 px4-firmware-6f241ed0443cc265d7a079f4bbf8d2d67be939ff.zip |
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
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/unistd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/include/unistd.h b/nuttx/include/unistd.h index d2ace79fa..c5289624b 100644 --- a/nuttx/include/unistd.h +++ b/nuttx/include/unistd.h @@ -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 */ |