aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libc/spawn/lib_ps.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 21:51:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-11 21:51:54 +0000
commitdb161f73bc2608dbb8ad8c022609198f7f0b3f95 (patch)
tree60b33dff14781a7f98e7c78b6f47243cace54e77 /nuttx/libc/spawn/lib_ps.c
parent43e22b2b98bacc15438133b5823d545806c8d092 (diff)
downloadpx4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.tar.gz
px4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.tar.bz2
px4-firmware-db161f73bc2608dbb8ad8c022609198f7f0b3f95.zip
Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5512 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/spawn/lib_ps.c')
-rw-r--r--nuttx/libc/spawn/lib_ps.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/libc/spawn/lib_ps.c b/nuttx/libc/spawn/lib_ps.c
index a6a0590d4..dfe57089e 100644
--- a/nuttx/libc/spawn/lib_ps.c
+++ b/nuttx/libc/spawn/lib_ps.c
@@ -440,7 +440,7 @@ static int spawn_proxy(int argc, char *argv[])
*
* Description:
* The posix_spawn() and posix_spawnp() functions will create a new,
- * child task, constructed a regular executable file.
+ * child task, constructed from a regular executable file.
*
* Input Parameters:
*
@@ -479,9 +479,9 @@ static int spawn_proxy(int argc, char *argv[])
* not supported. NuttX does not support process groups.
* - POSIX_SPAWN_SETSCHEDPARAM: Set new tasks priority to the sched_param
* value.
- * - POSIX_SPAWN_SETSCHEDULER: Set the new task's scheduler priority to
+ * - POSIX_SPAWN_SETSCHEDULER: Set the new task's scheduler policy to
* the sched_policy value.
- * - POSIX_SPAWN_RESETIDS: Resetting of effective user ID of the child
+ * - POSIX_SPAWN_RESETIDS: Resetting of the effective user ID of the child
* process is not supported. NuttX does not support effective user
* IDs.
* - POSIX_SPAWN_SETSIGMASK: Set the new task's signal mask.
@@ -514,11 +514,12 @@ static int spawn_proxy(int argc, char *argv[])
* CONFIG_BINFMT_EXEPATH is defined, then only posix_spawnp() behavior
* is supported; otherwise, only posix_spawn behavior is supported.
* - The 'envp' argument is not used and the 'environ' variable is not
- * altered (NuttX does not support the 'environ' variable.
+ * altered (NuttX does not support the 'environ' variable).
* - Process groups are not supported (POSIX_SPAWN_SETPGROUP).
* - Effective user IDs are not supported (POSIX_SPAWN_RESETIDS).
- * - Signal masks and signal default actions cannot be modified in the
- * newly executed task (POSIX_SPAWN_SETSIGDEF and POSIX_SPAWN_SETSIGMASK).
+ * - Signal default actions cannot be modified in the newly task executed
+ * because NuttX does not support default signal actions
+ * (POSIX_SPAWN_SETSIGDEF).
*
* POSIX Compatibility
* - The value of the argv[0] received by the child task is assigned by