2003-05-27 18:23:38 +00:00
|
|
|
/*
|
|
|
|
* system.c
|
|
|
|
*
|
|
|
|
* Stefan Haubenthal, 2003-05-26
|
|
|
|
* Ullrich von Bassewitz, 2003-05-27
|
|
|
|
*/
|
|
|
|
|
2003-08-16 08:23:01 +00:00
|
|
|
#include <stdio.h>
|
2003-05-27 18:23:38 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
int system (const char* s)
|
|
|
|
{
|
|
|
|
if (s == NULL) {
|
|
|
|
return 0; /* no shell */
|
|
|
|
} else {
|
|
|
|
return -1; /* always fail */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|