diff options
Diffstat (limited to 'cpukit/posix/src/pthreadatfork.c')
-rw-r--r-- | cpukit/posix/src/pthreadatfork.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c new file mode 100644 index 0000000000..f70f8d7dc1 --- /dev/null +++ b/cpukit/posix/src/pthreadatfork.c @@ -0,0 +1,18 @@ +/* + * pthread_atfork() - POSIX 1003.1b 3.1.3 + * + * $Id$ + */ + +#include <sys/types.h> +#include <errno.h> + +int pthread_atfork( + void (*prepare)(void), + void (*parent)(void), + void (*child)(void) +) +{ + errno = ENOSYS; + return -1; +} |