1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00
cc65/libsrc/common
Oliver Schmidt d001a6f1a0 Have _heapmaxavail() work as advertised.
The cc65 doc explicitly states that the return value of _heapmaxavail() can be used as parameter of malloc(). To actually allow for that the size of HEAP_ADMIN_SPACE has to be substracted from the raw size of the largest free heap block.
2014-02-20 21:04:11 +01:00
..
_afailed.c
_cwd.s
_environ.s
_fdesc.s
_file.h Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
_file.s
_fopen.s
_heap.s
_heapadd.s
_heapblocksize.s
_heapmaxavail.s
_heapmemavail.s
_hextab.c
_longminstr.c
_oserror.s
_poserror.c
_printf.h
_printf.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
_scanf.c
_scanf.h
_scanf.inc
_seterrno.s
_swap.s
_sys.s
abort.c
abs.s
asctime.c
atexit.s
atoi.s
bsearch.c
calloc.s
cc65_idiv32by16r16.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
cc65_imul16x16r32.s
cc65_sincos.s
cc65_udiv32by16r16.s
cc65_umul16x8r32.s
cc65_umul16x16r32.s
chdir.s
copydata.s
creat.s Added creat() 2003-06-12 09:10:50 +00:00
ctime.s
divt.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
errno.s
errormsg.c
fclose.s
fdopen.c
fgetc.c
fgetpos.c
fgets.c
fmisc.s
fopen.s
fprintf.s
fputc.c
fputs.c Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
fread.s
free.s
freopen.c
fscanf.s
fseek.c
fsetpos.c
ftell.c
fwrite.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
getchar.c
getcpu.s
getcwd.s Call __seterrno and save a few bytes. 2010-06-03 21:29:28 +00:00
getenv.s
getopt.c
gets.c Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
gmtime.c
interrupt.s
isalnum.s
isalpha.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
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.c
longjmp.s
ltoa.s
malloc.s
memchr.s
memcmp.s
memcpy.s
memmove.s
memset.s
mkdir.s
mktime.c
modfree.s
modload.s
perror.c
pmemalign.c
printf.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
putchar.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
putenv.s
puts.c Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
qsort.c Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
raise.s Reset signal handler to SIG_DFL on a call to raise() 2003-03-14 00:08:35 +00:00
rand.s
realloc.c Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
remove.s
rename.s
rewind.c
rmdir.s
scanf.s
searchenv.s
setjmp.s
signal.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
sigtable.s
sleep.c
snprintf.s
sprintf.s
sscanf.s
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s
strcspn.s
strdup.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
strerror.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
strftime.c
stricmp.s
strlen.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
strlower.s
strncat.s
strncmp.s
strncpy.s
strnicmp.s
stroserr.s
strpbrk.s
strrchr.s
strspn.s
strstr.s
strtoimax.s
strtok.c
strtol.c
strtoul.c
strtoumax.s
strupper.s
strxfrm.c
system.c
time.s fixed timep handling in time() 2013-10-02 20:55:01 +01:00
timezone.c Cosmetic changes 2002-11-13 08:56:45 +00:00
tolower.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
toupper.s
uname.s
ungetc.s
unlink.s
utscopy.s
vfprintf.s
vfscanf.s
vprintf.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
vscanf.s
vsnprintf.s
vsprintf.s
vsscanf.s Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
zerobss.s