]> git.sur5r.net Git - cc65/blob - libsrc/common/system.c
Added a dummy system() function
[cc65] / libsrc / common / system.c
1 /*
2  * system.c
3  *
4  * Stefan Haubenthal, 2003-05-26
5  * Ullrich von Bassewitz, 2003-05-27
6  */
7
8 #include <stdlib.h>
9
10 int system (const char* s)
11 {
12     if (s == NULL) {
13         return 0;               /* no shell */
14     } else {
15         return -1;              /* always fail */
16     }
17 }
18
19
20