1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
cc65/libsrc/common
uz feb31603da Use named constants from ctype.inc instead of hard coded numeric values.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3929 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 22:11:56 +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 New used block structure for the heap 2005-01-05 21:05:11 +00:00
_heapmaxavail.s Use structs 2003-12-03 10:15:33 +00:00
_heapmemavail.s Use structs 2003-12-03 10:15:33 +00:00
_hextab.c
_oserror.s
_poserror.c Added _poserror, made perror __fastcall__ 2003-04-24 20:55:55 +00:00
_printf.h
_printf.s Removed an unused import. 2009-02-10 22:08:43 +00:00
_scanf.c A label must always be followed by a statement. This wasn't checked by the 2008-08-03 12:54:11 +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 Fixed a typo 2003-02-12 19:56:00 +00:00
abort.c Raise SIGABRT 2003-03-14 00:02:31 +00:00
abs.s Squeeze two cycles out of the abs() function 2003-10-10 17:59:00 +00:00
asctime.c Call strftime instead of formatting the time manually 2002-11-13 13:28:45 +00:00
atexit.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
atoi.s Use named constants from ctype.inc instead of hard coded numeric values. 2009-02-10 22:11:56 +00:00
bsearch.c Make bsearch __fastcall__ 2003-10-29 21:51:59 +00:00
calloc.s
chdir.s Added a getcwd function 2003-08-12 13:51:11 +00:00
copydata.s Sqeezed a few bytes out of the copydata function 2004-12-01 12:00:50 +00:00
creat.s Added creat() 2003-06-12 09:10:50 +00:00
ctime.s Added lots of functions from time.h 2002-11-12 22:06:02 +00:00
divt.s Removed comment about a cast that is no longer necessary 2002-11-21 21:29:15 +00:00
errno.s
errormsg.c New error code ERANGE 2003-08-12 13:48:45 +00:00
fclose.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
fdopen.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgetc.c Add support for pushed back chars 2004-05-13 21:13:51 +00:00
fgetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fgets.c Squeezed out a few bytes 2004-05-13 21:17:58 +00:00
fmisc.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
fprintf.s Removed an unused import 2004-11-28 18:09:56 +00:00
fputc.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fputs.c Restructured former fcntl.h, added new include files unistd.h and sys/types.h. 2003-06-12 18:08:23 +00:00
fread.s Add support for pushed back characters from ungetc() 2004-05-14 20:54:46 +00:00
free.s Added a comment 2005-01-05 21:05:35 +00:00
freopen.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
fscanf.s Replaced fscanf by an assembler version 2004-11-28 18:11:17 +00:00
fseek.c Make fseek support ungetc, fix non standard compliant behaviour 2004-05-13 21:29:18 +00:00
fsetpos.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
ftell.c Add support for ungetc, fix non standard compliant behaviour 2004-05-13 21:54:01 +00:00
fwrite.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
getchar.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
getcpu.s
getcwd.s Fixes to the code just written 2003-08-12 13:58:17 +00:00
getenv.s Added environment routines 2005-04-21 21:26:15 +00:00
gets.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
gmtime.c Cosmetic changes 2002-11-13 08:56:45 +00:00
isalnum.s
isalpha.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 Make setlocale __fastcall__ 2003-10-02 21:44:56 +00:00
localtime.c Cosmetic changes 2002-11-13 08:56:45 +00:00
longjmp.s
ltoa.s
Makefile add strnicmp.o 2009-02-10 19:15:51 +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
maperrno.s Renamed setoserror to seterrnofromoserror to avoid clashes. 2008-04-15 06:55:35 +00:00
memchr.s Optimization 2003-05-05 17:19:48 +00:00
memcmp.s
memcpy.s Fixed a bug in memcpy 2003-10-22 21:04:22 +00:00
memmove.s Split memcpy and memmove, since the former is used a lot more often than 2003-08-20 10:17:53 +00:00
memset.s Use .repeat to unroll the loop. 2003-12-16 21:10:18 +00:00
mkdir.s New stuff contributed by Oliver Schmidt 2005-08-31 20:11:45 +00:00
mktime.c Optimizations 2003-11-11 22:33:42 +00:00
modfree.s
modload.s Renamed O65_OS_CC65_MODULE -> O65_OS_CC65 in the headers. 2005-04-01 08:23:56 +00:00
oserrcheck.s Removed useless __errno imports 2003-11-13 00:12:56 +00:00
perror.c Added _poserror, made perror __fastcall__ 2003-04-24 20:55:55 +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 The 65C02 code didn't work 2005-04-23 14:12:19 +00:00
puts.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
qsort.c Make qsort __fastcall__ 2003-10-29 21:59:19 +00:00
raise.s Reset signal handler to SIG_DFL on a call to raise() 2003-03-14 00:08:35 +00:00
rand.s Change initial seed to 1 2002-11-05 13:19:43 +00:00
realloc.c Changed the way, used blocks are managed 2004-12-19 23:09:38 +00:00
remove.s Moved reusable parts of remove into oserrcheck. 2003-08-12 13:06:43 +00:00
rename.s Moved reusable parts of remove into oserrcheck. 2003-08-12 13:06:43 +00:00
rewind.c Fixed the return code of fgetpos and ftell. 2003-11-06 18:04:07 +00:00
rmdir.s New stuff contributed by Oliver Schmidt 2005-08-31 20:11:45 +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 Disable interrupts while modifying the signal table 2004-12-10 11:50:54 +00:00
sigtable.s Add signal() and raise() 2003-03-14 00:02:58 +00:00
sleep.c sleep.c doesn't compile on platforms without a clock function 2003-06-12 18:17:46 +00:00
sprintf.s Fixed a typo 2003-06-03 12:15:57 +00:00
sscanf.s Replace sscanf by an assembler version 2004-11-28 18:23:16 +00:00
strcat.s Small optimization 2003-05-05 17:05:22 +00:00
strchr.s
strcmp.s
strcoll.s
strcpy.s Another small optimization 2003-05-05 17:07:14 +00:00
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 Fixed %W/%U 2002-11-13 18:08:36 +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 Use named constants from ctype.inc instead of hard coded numeric values. 2009-02-10 22:11:56 +00:00
strncat.s
strncmp.s
strncpy.s Speed optimization 2003-08-18 11:25:31 +00:00
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
strtok.c Make strtok __fastcall__ 2005-05-17 21:11:09 +00:00
strupper.s Use named constants from ctype.inc instead of hard coded numeric values. 2009-02-10 22:11:56 +00:00
strxfrm.c Made strxfrm fastcall, added docs. 2008-08-27 20:02:48 +00:00
system.c Cleanup use of predefined data types / defines 2003-08-16 08:23:01 +00:00
time.s Use a subroutine to set errno to save some space. 2004-05-13 21:09:08 +00:00
timezone.c Cosmetic changes 2002-11-13 08:56:45 +00:00
tolower.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
toupper.s Removed __cdiff. Since the assembler does character set translation for 2002-11-22 00:53:46 +00:00
uname.s New uname function 2003-08-12 14:24:34 +00:00
ungetc.s Fixed a bug 2004-05-14 14:33:43 +00:00
unlink.s Added unlink() 2003-06-12 08:43:57 +00:00
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 Rewrote vprintf in assembler and made it __fastcall__ 2003-06-02 16:08:26 +00:00
vscanf.s Replace vscanf by an assembler version 2004-11-27 18:23:24 +00:00
vsprintf.s Fixed a typo 2003-06-03 12:15:57 +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