1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
cc65/libsrc/common
silverdr deb18b8e1e typo in the doc corrected, tabs adjusted
git-svn-id: svn://svn.cc65.org/cc65/trunk@5964 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-15 11:30:11 +00:00
..
_afailed.c
_cwd.s Leave __cwd_buf_size intact 2005-04-19 11:48:05 +00:00
_environ.s Added environment routines 2005-04-21 21:26:15 +00:00
_fdesc.s Use structs 2003-12-03 10:15:33 +00:00
_file.h Added pushback char to struct FILE 2004-05-12 13:16:36 +00:00
_file.s Added pushback char to struct FILE 2004-05-12 13:16:36 +00:00
_fopen.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
_heap.s Move initialization code into the init segment 2005-02-26 09:06:46 +00:00
_heapadd.s Fixed an identifier (cosmetic change) 2005-01-05 21:04:35 +00:00
_heapblocksize.s Fixed an invalid store offset which resulted in random values returned by the 2012-03-25 13:13:37 +00:00
_heapmaxavail.s Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the 2012-03-04 13:08:54 +00:00
_heapmemavail.s Patch by Stefan Haubenthal: Remove __fastcall__ in comments and/or the 2012-03-04 13:08:54 +00:00
_hextab.c
_longminstr.c Moved the string that contains the ascii representation of LONG_MIN into its 2012-11-26 16:28:46 +00:00
_oserror.s
_poserror.c Fixed comments. No code change. 2011-04-25 18:49:24 +00:00
_printf.h The _printf routine does not return anything. 2009-09-26 19:20:51 +00:00
_printf.s Use the new declarations from the zeropage include file. In interrupt handlers 2012-11-04 15:23:05 +00:00
_scanf.c Removed the prototype for _seterrno, since it is now provided in errno.h. 2010-06-03 21:25:17 +00:00
_scanf.h Scanf improvements by Greg King 2005-02-14 09:19:59 +00:00
_scanf.inc Replace vfscanf by an assembler version 2004-11-27 14:56:54 +00:00
_seterrno.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
_swap.s Fixed an error and improved the code 2004-11-30 18:47:25 +00:00
_sys.s
abort.c
abs.s Squeeze two cycles out of the abs() function 2003-10-10 17:59:00 +00:00
asctime.c
atexit.s Changed priorities of destructors so atexit will be called before open files 2011-01-28 10:55:03 +00:00
atoi.s Shrink atoi by using negeax instead of inlined code. 2009-09-15 21:25:44 +00:00
bsearch.c Make bsearch __fastcall__ 2003-10-29 21:51:59 +00:00
calloc.s Fixed an error in calloc reported by Marc 'BlackJack' Rintsch. 2012-11-12 23:07:02 +00:00
cc65_idiv32by16r16.s Working on the division and multiplication routines. 2009-11-04 19:41:54 +00:00
cc65_imul16x16r32.s Working on the division and multiplication routines. 2009-11-04 19:41:54 +00:00
cc65_sincos.s Fixed the return types of the sine/cosine functions. Added comments. 2009-10-30 14:02:24 +00:00
cc65_udiv32by16r16.s Working on the division and multiplication routines. 2009-11-04 19:41:54 +00:00
cc65_umul16x8r32.s Make the 8x32 unsigned multiplication routine C callable. 2011-07-10 14:52:35 +00:00
cc65_umul16x16r32.s Working on the division and multiplication routines. 2009-11-04 19:41:54 +00:00
chdir.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
copydata.s Sqeezed a few bytes out of the copydata function 2004-12-01 12:00:50 +00:00
creat.s
ctime.s
divt.s
errno.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
errormsg.c Added messages for EBADF (new) and EUNKNOWN (missing). 2010-06-03 21:16:07 +00:00
fclose.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
fdopen.c Shortened the code. 2012-06-10 18:25:22 +00:00
fgetc.c Don't include errno.h since it is not needed. 2010-06-03 20:20:01 +00:00
fgetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgets.c Rearrangements for smaller size of generated code. 2012-06-10 19:02:54 +00:00
fmisc.s Rewrote parts of the code for better error handling. fileno must set errno and 2010-06-03 21:20:10 +00:00
fopen.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
fprintf.s Removed an unused import 2004-11-28 18:09:56 +00:00
fputc.c Changed the code so that it better suits the code generation of the compiler 2012-06-10 18:32:38 +00:00
fputs.c Modifications for smaller code size. 2012-07-10 20:45:16 +00:00
fread.s Fixed a comment regarding errno/oserror. 2010-06-03 20:26:33 +00:00
free.s Added a comment 2005-01-05 21:05:35 +00:00
freopen.c Call _seterror instead of assigning to _errno to make the code somewhat 2010-06-03 20:27:59 +00:00
fscanf.s Replaced fscanf by an assembler version 2004-11-28 18:11:17 +00:00
fseek.c Rewrote the code to make it somewhat shorter. 2010-06-03 20:43:30 +00:00
fsetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
ftell.c Use _seterrno instead of assigning to _errno to make the code shorter. 2010-06-03 20:46:08 +00:00
fwrite.s Set errno if the stream is in error state. Small code size improvements. Fixed 2010-06-03 21:22:51 +00:00
getchar.c Removed __fastcall__ declarations for functions without parameters. 2011-07-07 20:19:35 +00:00
getcpu.s
getcwd.s Call __seterrno and save a few bytes. 2010-06-03 21:29:28 +00:00
getenv.s Added environment routines 2005-04-21 21:26:15 +00:00
getopt.c Added getopt. The implementation is based on a public domain source, 2010-07-10 11:28:02 +00:00
gets.c Changes for better code generation. 2012-06-10 18:55:22 +00:00
gmtime.c
interrupt.s Use the new declarations from the zeropage include file. In interrupt handlers 2012-11-04 15:23:05 +00:00
isalnum.s
isalpha.s typo in the doc corrected, tabs adjusted 2013-01-15 11:30:11 +00:00
isblank.s
iscntrl.s
isdigit.s typo in the doc corrected, tabs adjusted 2013-01-15 11:30:11 +00:00
isgraph.s
islower.s
isprint.s
ispunct.s
isspace.s
isupper.s
isxdigit.s
itoa.s
labs.s labs() is also imaxabs(). 2009-09-13 18:06:43 +00:00
locale.c
localtime.c
longjmp.s
ltoa.s Moved the string that contains the ascii representation of LONG_MIN into its 2012-11-26 16:28:46 +00:00
Makefile Moved the string that contains the ascii representation of LONG_MIN into its 2012-11-26 16:28:46 +00:00
malloc.s Slice blocks even if the remainder is just sizeof(freeblock) bytes in size. 2005-01-05 20:06:13 +00:00
memchr.s
memcmp.s
memcpy.s Improved memset/memcpy/memmove functions by Christian Krueger. 2009-09-20 14:32:25 +00:00
memmove.s Improved memset/memcpy/memmove functions by Christian Krueger. 2009-09-20 14:32:25 +00:00
memset.s Slightly improved memset function by Christian Krüger. 2011-01-26 22:07:59 +00:00
mkdir.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
mktime.c Optimizations 2003-11-11 22:33:42 +00:00
modfree.s
modload.s Use the new declarations from the zeropage include file. In interrupt handlers 2012-11-04 15:23:05 +00:00
perror.c Use _errno, not errno. 2010-06-03 21:31:06 +00:00
pmemalign.c Replaced _aligned_malloc by the POSIX compatible function posix_memalign 2005-07-24 12:57:00 +00:00
printf.s
putchar.s putchar didn't work 2005-12-20 22:58:16 +00:00
putenv.s No need to import __seterror, since this is done in errno.inc. 2010-06-03 21:33:55 +00:00
puts.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
qsort.c Size optimizations. 2012-06-11 18:16:17 +00:00
raise.s
rand.s
realloc.c Modifications for smaller code size. 2012-07-10 20:45:16 +00:00
remove.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
rename.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
rewind.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
rmdir.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
scanf.s Fixed tab removal which somehow went wrong 2005-02-14 09:38:30 +00:00
searchenv.s Added environment routines 2005-04-21 21:26:15 +00:00
setjmp.s
signal.s Call __seterrno instead of assigning to _errno and save a few bytes. 2010-06-03 21:26:52 +00:00
sigtable.s
sleep.c
snprintf.s Added an untested implementation of snprintf. 2009-09-27 12:11:05 +00:00
sprintf.s
sscanf.s Replace sscanf by an assembler version 2004-11-28 18:23:16 +00:00
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s
strcspn.s
strdup.s Improved 65c02 support 2003-10-10 17:52:12 +00:00
strerror.s Invalid error codes will set errno 2003-12-19 18:45:26 +00:00
strftime.c Changed names of the pragmas to be identical to the corresponding command line 2009-10-14 12:55:15 +00:00
stricmp.s Use named constants from ctype.inc instead of hard coded numeric values. 2009-02-10 22:11:56 +00:00
strlen.s
strlower.s Fixed an invalid store offset, which caused an invalid pointer as a function 2012-03-25 13:14:13 +00:00
strncat.s
strncmp.s
strncpy.s
strnicmp.s Use named constants from ctype.inc instead of hard coded numeric values. 2009-02-10 22:11:56 +00:00
stroserr.s
strpbrk.s
strrchr.s
strspn.s
strstr.s
strtoimax.s New strtoimax and strtoumax standard functions as aliases for strtol/strtoul. 2009-09-17 18:37:42 +00:00
strtok.c Make strtok __fastcall__ 2005-05-17 21:11:09 +00:00
strtol.c Use _seterrno instead of assigning to _errno. 2010-06-03 21:37:27 +00:00
strtoul.c Use _seterrno instead of assigning to _errno. 2010-06-03 21:37:27 +00:00
strtoumax.s New strtoimax and strtoumax standard functions as aliases for strtol/strtoul. 2009-09-17 18:37:42 +00:00
strupper.s Fixed an invalid store offset, which caused an invalid pointer as a function 2012-03-25 13:14:13 +00:00
strxfrm.c Made strxfrm fastcall, added docs. 2008-08-27 20:02:48 +00:00
system.c Make system() fastcall like most other library functions. 2009-09-15 21:01:20 +00:00
time.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
timezone.c
tolower.s
toupper.s
uname.s Renamed oserrcheck to __mappederrno. Added an additional function named 2010-06-10 18:10:53 +00:00
ungetc.s Fixed a bug 2004-05-14 14:33:43 +00:00
unlink.s
utscopy.s Use structs 2003-12-03 20:23:09 +00:00
vfprintf.s Code improvement 2005-02-14 10:28:54 +00:00
vfscanf.s Scanf improvements by Greg King 2005-02-14 09:19:59 +00:00
vprintf.s
vscanf.s Replace vscanf by an assembler version 2004-11-27 18:23:24 +00:00
vsnprintf.s Fixed more bugs, shortened the code where possible. 2009-09-28 18:39:55 +00:00
vsprintf.s Fixed more bugs, shortened the code where possible. 2009-09-28 18:39:55 +00:00
vsscanf.s Scanf improvements by Greg King 2005-02-14 09:19:59 +00:00
zerobss.s Move initialization code into the init segment 2005-02-26 09:06:46 +00:00