mirror of
https://github.com/cc65/cc65.git
synced 2025-09-22 16:24:45 +00:00
.github
asminc
cfg
doc
include
libsrc
apple2
atari
atari2600
atari5200
atari7800
atmos
c128
c16
c64
cbm
cbm510
cbm610
common
_afailed.c
_cwd.s
_directerrno.s
_environ.s
_fdesc.s
_file.h
_file.s
_fopen.s
_heap.s
_heapadd.s
_heapblocksize.s
_heapmaxavail.s
_heapmemavail.s
_hextab.c
_idiv32by16r16.s
_imul16x16r32.s
_imul8x8r16.s
_longminstr.c
_mappederrno.s
_oserror.s
_poserror.c
_printf.h
_printf.s
_scanf.c
_scanf.h
_scanf.inc
_seterrno.s
_swap.s
_sys.s
_time_t_to_tm.s
_udiv32by16r16.s
_umul16x16r32.s
_umul16x8r32.s
_umul8x8r16.s
abort.c
asctime.s
atexit.s
atoi.s
bsearch.c
calloc.s
chdir.s
checkferror.s
copydata.s
creat.s
ctime.s
ctype.s
ctypemask.s
divt.s
doesclrscr.s
errno.s
errormsg.c
fclose.s
fdopen.c
fgetc.s
fgetpos.c
fgets.s
fmisc.s
fopen.s
fprintf.s
fputc.s
fputs.s
fread.s
free.s
freopen.c
fscanf.s
fseek.c
fsetpos.c
ftell.c
fwrite.s
getchar.c
getcpu.s
getcwd.s
getenv.s
getopt.c
gets.s
gmtime.s
interrupt.s
isalnum.s
isalpha.s
isascii.s
isblank.s
iscntrl.s
isdigit.s
isgraph.s
islower.s
isprint.s
ispunct.s
isspace.s
isupper.s
isxdigit.s
itoa.s
labs.s
locale.c
localtime.s
longjmp.s
ltoa.s
lz4.s
malloc.s
memchr.s
memcmp.s
memcpy.s
memmove.s
memset.s
mkdir.s
mktime.s
modfree.s
modload.s
mul20.s
mul40.s
ntohl.s
ntohs.s
perror.c
pmemalign.c
printf.s
putchar.s
putenv.s
puts.c
qsort.c
raise.s
rand.s
realloc.s
remove.s
rename.s
rewind.c
rmdir.s
scanf.s
searchenv.s
setjmp.s
signal.s
sigtable.s
sincos.s
sleep.c
snprintf.s
sprintf.s
sscanf.s
stpcpy.c
strcasestr.s
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s
strcspn.s
strdup.s
strerror.s
strftime.c
stricmp.s
strlen.s
strlower.s
strncat.s
strncmp.s
strncpy.s
strnicmp.s
strnlen.s
stroserr.s
strpbrk.s
strqtok.c
strrchr.s
strspn.s
strstr.s
strtoimax.s
strtok.c
strtol.c
strtoul.c
strtoumax.s
strupper.s
strxfrm.c
system.c
tgi_colors.s
time.s
timezone.c
toascii.s
tolower.s
toupper.s
uname.s
ungetc.s
unlink.s
utscopy.s
vfprintf.s
vfscanf.s
vprintf.s
vscanf.s
vsnprintf.s
vsprintf.s
vsscanf.s
zerobss.s
conio
creativision
cx16
dbg
em
gamate
geos-apple
geos-cbm
geos-common
joystick
kim1
lynx
mouse
nes
none
osic1p
pce
pet
plus4
rp6502
runtime
serial
sim6502
supervision
sym1
telestrat
tgi
vic20
zlib
Makefile
NameClashes.md
samples
src
targettest
test
util
.editorconfig
.gitattributes
.gitignore
.travis.yml
Contributing.md
LICENSE
Makefile
Makefile.travis
README.md
22 lines
316 B
C
22 lines
316 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 */
|
|
}
|
|
}
|
|
|
|
|
|
|