diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-07 15:20:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-07 15:20:21 +0000 |
commit | 876062fe3a2b6273855b77c0ed1c9d0cbcfc43c6 (patch) | |
tree | 1c79d0ce5cdbf20d619eff0b3482e94c397b99f0 /nuttx/include/unistd.h | |
parent | a4a2b830b9958cd5aff6fc13bed75f001ae79ddb (diff) | |
download | px4-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/unistd.h')
-rw-r--r-- | nuttx/include/unistd.h | 3 |
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); |