diff options
Diffstat (limited to 'ports/unix/guts/system.c')
-rw-r--r-- | ports/unix/guts/system.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports/unix/guts/system.c b/ports/unix/guts/system.c new file mode 100644 index 0000000..6351592 --- /dev/null +++ b/ports/unix/guts/system.c @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2011, 2012 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * int system(const char *command) + * int rc = -1; + */ + if (!command) + return 1; + + pseudo_setupenv(); + if (pseudo_has_unload(NULL)) + pseudo_dropenv(); + + rc = real_system(command); + +/* return rc; + * } + */ |