aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/system.c
blob: 8b3607db54122ad6a2c75d8bf18ba72c4b3c2834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2011 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * int system(const char *command)
 *	int rc = -1;
 */
 	/* We want to ensure that the child process implicitly
	 * spawned has the right environment.  So...
	 */
	int pid;

	if (!command)
		return 1;

	pseudo_setupenv();
	rc = real_system(command);

/*	return rc;
 * }
 */