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