mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Added getenv()
git-svn-id: svn://svn.cc65.org/cc65/trunk@2123 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
503da1af88
commit
73240932de
@ -37,6 +37,7 @@ OBJS= _scrsize.o \
|
||||
crt0.o \
|
||||
ctype.o \
|
||||
cvline.o \
|
||||
getenv.o \
|
||||
joy_stddrv.o \
|
||||
kbhit.o \
|
||||
mainargs.o \
|
||||
|
12
libsrc/apple2/getenv.s
Normal file
12
libsrc/apple2/getenv.s
Normal file
@ -0,0 +1,12 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2003-05-02
|
||||
;
|
||||
; char* getenv (const char* name);
|
||||
;
|
||||
|
||||
.export _getenv
|
||||
.import return0
|
||||
|
||||
_getenv = return0 ; "not found"
|
||||
|
||||
|
@ -30,6 +30,7 @@ S_OBJS = _scrsize.o \
|
||||
crt0.o \
|
||||
ctype.o \
|
||||
cvline.o \
|
||||
getenv.o \
|
||||
gotox.o \
|
||||
gotoxy.o \
|
||||
gotoy.o \
|
||||
@ -39,7 +40,7 @@ S_OBJS = _scrsize.o \
|
||||
systime.o \
|
||||
wherex.o \
|
||||
wherey.o \
|
||||
write.o
|
||||
write.o
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# Targets
|
||||
|
12
libsrc/atmos/getenv.s
Normal file
12
libsrc/atmos/getenv.s
Normal file
@ -0,0 +1,12 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2003-05-02
|
||||
;
|
||||
; char* getenv (const char* name);
|
||||
;
|
||||
|
||||
.export _getenv
|
||||
.import return0
|
||||
|
||||
_getenv = return0 ; "not found"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user