aboutsummaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-07 15:20:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-07 15:20:21 +0000
commit876062fe3a2b6273855b77c0ed1c9d0cbcfc43c6 (patch)
tree1c79d0ce5cdbf20d619eff0b3482e94c397b99f0 /nuttx/include
parenta4a2b830b9958cd5aff6fc13bed75f001ae79ddb (diff)
downloadpx4-firmware-876062fe3a2b6273855b77c0ed1c9d0cbcfc43c6.tar.gz
px4-firmware-876062fe3a2b6273855b77c0ed1c9d0cbcfc43c6.tar.bz2
px4-firmware-876062fe3a2b6273855b77c0ed1c9d0cbcfc43c6.zip
Implement a simple vfork(). ARM only for now
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5486 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/include/unistd.h b/nuttx/include/unistd.h
index 681ce9e63..ddb6880f4 100644
--- a/nuttx/include/unistd.h
+++ b/nuttx/include/unistd.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/unistd.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -129,6 +129,7 @@ EXTERN int optopt; /* unrecognized option character */
/* Task Control Interfaces */
+EXTERN pid_t vfork(void);
EXTERN pid_t getpid(void);
EXTERN void _exit(int status) noreturn_function;
EXTERN unsigned int sleep(unsigned int seconds);