root/src/system/libroot/posix/pthread/pthread_atfork.c
/* 
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the MIT License.
*/


#include <pthread.h>
#include <fork.h>


int
pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void))
{
        return __register_atfork(prepare, parent, child);
}