tor  0.4.1.0-alpha-dev
waitpid.h
Go to the documentation of this file.
1 /* Copyright (c) 2011-2019, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
9 #ifndef TOR_WAITPID_H
10 #define TOR_WAITPID_H
11 
12 #ifndef _WIN32
13 #ifdef HAVE_SYS_TYPES_H
14 #include <sys/types.h>
15 #endif
16 
22 
23 waitpid_callback_t *set_waitpid_callback(pid_t pid,
24  void (*fn)(int, void *), void *arg);
27 #endif /* !defined(_WIN32) */
28 
29 #endif /* !defined(TOR_WAITPID_H) */
void clear_waitpid_callback(waitpid_callback_t *ent)
Definition: waitpid.c:98
void notify_pending_waitpid_callbacks(void)
Definition: waitpid.c:141