aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 16:53:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 16:53:44 +0000
commite7a5090e55f7db78164fda2696af414c3e083806 (patch)
tree46e6b528a6ace37a9ec35f2e4c1d7d3fe8b510f5 /nuttx/include
parentb26d1e14537568d79c5d805939408ecfca966072 (diff)
downloadpx4-firmware-e7a5090e55f7db78164fda2696af414c3e083806.tar.gz
px4-firmware-e7a5090e55f7db78164fda2696af414c3e083806.tar.bz2
px4-firmware-e7a5090e55f7db78164fda2696af414c3e083806.zip
Various changes while debugging posix_spawn
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/spawn.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/nuttx/include/spawn.h b/nuttx/include/spawn.h
index 3978424fb..39ed9be15 100644
--- a/nuttx/include/spawn.h
+++ b/nuttx/include/spawn.h
@@ -61,7 +61,7 @@
#define POSIX_SPAWN_SETSCHEDPARAM (1 << 2) /* 1: Set task's priority */
#define POSIX_SPAWN_SETSCHEDULER (1 << 3) /* 1: Set task's scheduler policy */
#define POSIX_SPAWN_SETSIGDEF (1 << 4) /* 1: Set default signal actions */
-#define POSIX_SPAWN_SETSIGMASK (1 << 5) /* 1: Set sigmask *./
+#define POSIX_SPAWN_SETSIGMASK (1 << 5) /* 1: Set sigmask */
/****************************************************************************
* Type Definitions
@@ -181,6 +181,16 @@ int posix_spawnattr_setsigmask(FAR posix_spawnattr_t *attr,
# define posix_spawnattr_setsigmask(attr,sigmask) (ENOSYS)
#endif
+/* Non standard debug functions */
+
+#ifdef CONFIG_DEBUG
+void posix_spawn_file_actions_dump(FAR posix_spawn_file_actions_t *file_actions);
+void posix_spawnattr_dump(FAR posix_spawnattr_t *attr);
+#else
+# define posix_spawn_file_actions_dump(fa)
+# define posix_spawnattr_dump(a)
+#endif
+
#ifdef __cplusplus
}
#endif