1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00
cc65/libsrc/common/system.c
uz 96637a8c35 Make system() fastcall like most other library functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4178 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 21:01:20 +00:00

22 lines
317 B
C

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