1 /* 2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the Haiku License. 4 */ 5 6 7 #include <pthread.h> 8 #include <fork.h> 9 10 11 int 12 pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) 13 { 14 return __register_atfork(prepare, parent, child); 15 } 16 17