aboutsummaryrefslogtreecommitdiffstats
path: root/guts/vfork.c
blob: 4e0f767030475a1875912626507e826bd92451a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 
 * Copyright (c) 2008-2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * static int
 * wrap_vfork(void) {
 *	int rc = -1;
 */

	/* like fakeroot, we really can't handle vfork's implications */
	rc = real_fork();
	if (rc == 0)
		pseudo_client_reset();

/*	return rc;
 * }
 */