1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-29 13:31:59 +00:00
cc65/libsrc/common/system.c
cuz 975eefc7c2 Added a dummy system() function
git-svn-id: svn://svn.cc65.org/cc65/trunk@2171 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-05-27 18:23:38 +00:00

21 lines
285 B
C

/*
* system.c
*
* Stefan Haubenthal, 2003-05-26
* Ullrich von Bassewitz, 2003-05-27
*/
#include <stdlib.h>
int system (const char* s)
{
if (s == NULL) {
return 0; /* no shell */
} else {
return -1; /* always fail */
}
}