WvStreams
Main Page
Modules
Classes
Files
File List
File Members
include
wvfork.h
Go to the documentation of this file.
1
/* -*- Mode: C++ -*-
2
* Worldvisions Weaver Software:
3
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4
*/
9
#ifndef __WVFORK_H
10
#define __WVFORK_H
11
12
#ifndef _WIN32
13
#include <unistd.h>
14
#else
15
typedef
int
pid_t;
16
#endif
17
18
#include "wvscatterhash.h"
19
#include "wvtr1.h"
20
21
DeclareWvScatterTable(
int
);
22
typedef
wv::function<void(pid_t)> WvForkCallback;
23
32
extern
void
add_wvfork_callback
(WvForkCallback cb);
33
42
extern
pid_t
wvfork_start
(
int
*waitfd);
43
53
extern
pid_t
wvfork
(
int
dontclose1 = -1,
int
dontclose2 = -1);
54
extern
pid_t
wvfork
(intTable &dontclose );
55
56
#endif
Generated on Tue Mar 1 2016 21:28:37 for WvStreams by
1.8.4