1 #ifndef __FORK_H__ 2 #define __FORK_H__ 3 /* 4 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 5 ** Distributed under the terms of the Haiku License. 6 */ 7 8 9 #include <SupportDefs.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern status_t __init_fork(void); 17 extern status_t __register_atfork(void( *prepare)( void), void( *parent)( void), void( *child)( void)); 18 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif /* __FORK_H__ */ 24