1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-16 02:10:52 +00:00
cc65/libsrc/common
Kugel Fuhr efa2020d93 Improved/fixed the time() function:
- When the underlying clock_gettime function returned an error, the value
  returned via *timep was wrong.
- Reduced code size by 7 bytes.
- Don't suck in ldeaxi.
2024-09-12 09:14:57 +02:00
..
_afailed.c use __afailed instead of _afailed 2022-08-28 20:08:13 +02:00
_cwd.s
_directerrno.s remove extra spaces 2022-08-28 22:37:33 +02:00
_environ.s
_fdesc.s
_file.h
_file.s
_fopen.s remove extra spaces 2022-08-28 22:37:33 +02:00
_heap.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
_heapadd.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
_heapblocksize.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
_heapmaxavail.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
_heapmemavail.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
_hextab.c
_idiv32by16r16.s
_imul8x8r16.s
_imul16x16r32.s
_longminstr.c remove dangling spaces 2022-04-17 16:06:22 +02:00
_mappederrno.s remove extra spaces 2022-08-28 22:37:33 +02:00
_oserror.s fix errno related underscores in all libsrc/*.s files 2022-08-28 21:52:53 +02:00
_poserror.c add underscores to _poserror and _stroserror 2022-08-29 21:06:48 +02:00
_printf.h
_printf.s a BIT of 65C02 optimisations 2024-02-02 19:45:49 +01:00
_scanf.c
_scanf.h
_scanf.inc
_seterrno.s fix some errno related stuff, "make all" works again 2022-08-28 22:09:44 +02:00
_swap.s extra underscores for _randomize and _swap 2022-08-29 20:52:35 +02:00
_sys.s
_time_t_to_tm.s Rewrite mktime in assembly 2024-01-18 09:09:38 +01:00
_udiv32by16r16.s
_umul8x8r16.s
_umul16x8r32.s
_umul16x16r32.s
abort.c remove dangling spaces 2022-04-17 16:06:22 +02:00
asctime.s Rewrite asctime() in assembler (-7 bytes) 2024-01-18 09:09:38 +01:00
atexit.s fix errno related underscores in all libsrc/*.s files 2022-08-28 21:52:53 +02:00
atoi.s
bsearch.c
calloc.s add extra underscore to _bzero, add a test for bzero/memset 2022-08-29 23:20:48 +02:00
chdir.s remove extra spaces 2022-08-28 22:37:33 +02:00
checkferror.s Factorize file pointer check 2024-01-30 19:40:28 +01:00
copydata.s
creat.s
ctime.s
ctype.s
ctypemask.s remove dangling spaces 2022-04-17 16:06:22 +02:00
divt.s Rewrite mktime in assembly 2024-01-18 09:09:38 +01:00
doesclrscr.s remove dangling spaces 2022-04-17 16:06:22 +02:00
errno.s fix some errno related stuff, "make all" works again 2022-08-28 22:09:44 +02:00
errormsg.c
fclose.s add a return -1 helper 2024-01-24 09:58:09 +01:00
fdopen.c
fgetc.s a BIT of 65C02 optimisations 2024-02-02 19:45:49 +01:00
fgetpos.c
fgets.s Remove useless branching code in fgets 2024-01-30 19:52:48 +01:00
fmisc.s add a return -1 helper 2024-01-24 09:58:09 +01:00
fopen.s remove extra spaces 2022-08-28 22:37:33 +02:00
fprintf.s
fputc.s Factorize file pointer check 2024-01-30 19:40:28 +01:00
fputs.s Factorize file pointer check 2024-01-30 19:40:28 +01:00
fread.s a BIT of 65C02 optimisations 2024-02-02 19:45:49 +01:00
free.s add extra underscore to heap stuff 2022-08-29 19:55:48 +02:00
freopen.c Fix some commonly made spelling errors in comments. 2022-02-21 15:44:31 -05:00
fscanf.s
fseek.c
fsetpos.c remove dangling spaces 2022-04-17 16:06:22 +02:00
ftell.c
fwrite.s a BIT of 65C02 optimisations 2024-02-02 19:45:49 +01:00
getchar.c
getcpu.s
getcwd.s fix errno related underscores in all libsrc/*.s files 2022-08-28 21:52:53 +02:00
getenv.s
getopt.c
gets.s Rewrite gets in assembler 2024-01-26 20:29:17 +01:00
gmtime.s Rework time functions a bit 2024-01-08 18:24:13 +01:00
interrupt.s
isalnum.s
isalpha.s
isascii.s Shorter isascii 2022-08-04 00:25:04 +02:00
isblank.s
iscntrl.s
isdigit.s
isgraph.s
islower.s
isprint.s
ispunct.s
isspace.s
isupper.s
isxdigit.s
itoa.s Fix some commonly made spelling errors in comments. 2022-02-21 15:44:31 -05:00
labs.s
locale.c
localtime.s Rework time functions a bit 2024-01-08 18:24:13 +01:00
longjmp.s
ltoa.s remove dangling spaces 2022-04-17 16:06:22 +02:00
lz4.s
malloc.s Fix malloc and realloc overflow 2024-01-24 09:54:54 +01:00
memchr.s
memcmp.s Fixed outdated comments. 2020-12-27 18:22:12 -05:00
memcpy.s remove dangling spaces 2022-04-17 16:06:22 +02:00
memmove.s
memset.s add extra underscore to _bzero, add a test for bzero/memset 2022-08-29 23:20:48 +02:00
mkdir.s remove extra spaces 2022-08-28 22:37:33 +02:00
mktime.s Rewrite mktime in assembly 2024-01-18 09:09:38 +01:00
modfree.s
modload.s
mul20.s remove dangling spaces 2022-04-17 16:06:22 +02:00
mul40.s remove dangling spaces 2022-04-17 16:06:22 +02:00
ntohl.s Address Oliver's comments 2023-09-07 16:48:56 +02:00
ntohs.s Address Oliver's comments 2023-09-07 16:48:56 +02:00
perror.c fix some errno related stuff, "make all" works again 2022-08-28 22:09:44 +02:00
pmemalign.c Optimize -36 bytes out of posix_memalign 2024-01-24 10:23:53 +01:00
printf.s
putchar.s
putenv.s add a return -1 helper 2024-01-24 09:58:09 +01:00
puts.c
qsort.c extra underscores for _randomize and _swap 2022-08-29 20:52:35 +02:00
raise.s use __sig_ign and __sig_dft instead of _sig_ign and _sig_dft 2022-08-28 20:18:34 +02:00
rand.s
realloc.s Rewrite realloc in asm 2024-01-26 20:25:59 +01:00
remove.s remove extra spaces 2022-08-28 22:37:33 +02:00
rename.s fix errno related underscores in all libsrc/*.s files 2022-08-28 21:52:53 +02:00
rewind.c remove dangling spaces 2022-04-17 16:06:22 +02:00
rmdir.s remove extra spaces 2022-08-28 22:37:33 +02:00
scanf.s
searchenv.s
setjmp.s fix setjmp.h 2022-08-28 20:05:11 +02:00
signal.s remove extra spaces 2022-08-28 22:37:33 +02:00
sigtable.s remove extra spaces 2022-08-28 22:37:33 +02:00
sincos.s
sleep.c
snprintf.s
sprintf.s
sscanf.s
stpcpy.s Optimize stpcpy's size and speed 2024-09-07 21:24:53 +02:00
strcasestr.s Separated versions 2024-04-19 07:57:47 +02:00
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s Optimize stpcpy's size and speed 2024-09-07 21:24:53 +02:00
strcspn.s Little strdup optimisation 2024-01-07 14:25:06 +01:00
strdup.s Little strdup optimisation 2024-01-07 14:25:06 +01:00
strerror.s fix some errno related stuff, "make all" works again 2022-08-28 22:09:44 +02:00
strftime.c
stricmp.s
strlen.s Little strdup optimisation 2024-01-07 14:25:06 +01:00
strlower.s
strncat.s remove dangling spaces 2022-04-17 16:06:22 +02:00
strncmp.s
strncpy.s Remove stale comments. 2020-12-27 17:54:49 -05:00
strnicmp.s Fix comment. 2020-12-27 17:54:49 -05:00
strnlen.s Fix strnlen(). 2021-12-25 09:11:58 +01:00
stroserr.s add underscores to _poserror and _stroserror 2022-08-29 21:06:48 +02:00
strpbrk.s
strqtok.c
strrchr.s remove dangling spaces 2022-04-17 16:06:22 +02:00
strspn.s Little strdup optimisation 2024-01-07 14:25:06 +01:00
strstr.s Separated versions 2024-04-19 07:57:47 +02:00
strtoimax.s
strtok.c
strtol.c
strtoul.c
strtoumax.s
strupper.s
strxfrm.c
system.c
tgi_colors.s
time.s Improved/fixed the time() function: 2024-09-12 09:14:57 +02:00
timezone.c
toascii.s
tolower.s Use common naming scheme for tolowerdirect 2024-03-22 17:19:26 +01:00
toupper.s
uname.s remove extra spaces 2022-08-28 22:37:33 +02:00
ungetc.s add a return -1 helper 2024-01-24 09:58:09 +01:00
unlink.s
utscopy.s
vfprintf.s
vfscanf.s
vprintf.s
vscanf.s
vsnprintf.s remove extra spaces 2022-08-28 22:37:33 +02:00
vsprintf.s remove dangling spaces 2022-04-17 16:06:22 +02:00
vsscanf.s
zerobss.s