2010-04-13 01:02:09 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2010-04-13 13:48:02 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
2010-04-13 01:02:09 +04:00
|
|
|
*/
|
2004-10-12 20:28:25 +04:00
|
|
|
#ifndef __FORK_H__
|
|
|
|
#define __FORK_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-04-13 13:48:02 +04:00
|
|
|
extern status_t __register_atfork(void(*prepare)(void), void(*parent)(void),
|
|
|
|
void(*child)(void));
|
2004-10-12 20:28:25 +04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-04-13 13:48:02 +04:00
|
|
|
|
2004-10-12 20:28:25 +04:00
|
|
|
#endif /* __FORK_H__ */
|