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