xref: /haiku/src/system/libroot/posix/pthread/pthread_atfork.c (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
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