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