25 lines
398 B
C
25 lines
398 B
C
/*
|
|||
|
|
* Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
|
||
* Distributed under the terms of the MIT License.
|
|||
*/
|
|||
#ifndef __FORK_H__
|
|||
|
|
#define __FORK_H__
|
||
|
|
|
||
|
|
|
||
|
|
#include <SupportDefs.h>
|
||
|
|
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
extern status_t __register_atfork(void(*prepare)(void), void(*parent)(void),
|
|||
|
|
void(*child)(void));
|
||
|
|||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|||
#endif /* __FORK_H__ */
|