summaryrefslogtreecommitdiff
path: root/nuttx/include/sys/types.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-10 14:00:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-10 14:00:04 +0000
commitebc734d8e40e310bc94bd8321a70ce1b8ef5d5a9 (patch)
treebbfe061da8b810002e67025923506e4560c00d2b /nuttx/include/sys/types.h
parent3306e7be0283dd220a33eb83f88b568b915ea7b8 (diff)
downloadpx4-nuttx-ebc734d8e40e310bc94bd8321a70ce1b8ef5d5a9.tar.gz
px4-nuttx-ebc734d8e40e310bc94bd8321a70ce1b8ef5d5a9.tar.bz2
px4-nuttx-ebc734d8e40e310bc94bd8321a70ce1b8ef5d5a9.zip
Experimental version of waitpid()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3359 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys/types.h')
-rw-r--r--nuttx/include/sys/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/include/sys/types.h b/nuttx/include/sys/types.h
index 4be7d3527..736d2fb75 100644
--- a/nuttx/include/sys/types.h
+++ b/nuttx/include/sys/types.h
@@ -152,6 +152,12 @@ typedef uint16_t ino_t;
typedef int pid_t;
+/* id_t is a general identifier that can be used to contain at least a pid_t,
+ * uid_t, or gid_t.
+ */
+
+typedef unsigned int id_t;
+
/* blkcnt_t and off_t are signed integer types.
*
* blkcnt_t is used for file block counts.