1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00
cc65/libsrc/common
uz b97986b124 Rewrote parts of the code for better error handling. fileno must set errno and
return -1 in case of an invalid argument, which it didn't until now.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4698 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 21:20:10 +00:00
..
_afailed.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
_cwd.s
_environ.s
_fdesc.s
_file.h
_file.s Added pushback char to struct FILE 2004-05-12 13:16:36 +00:00
_fopen.s
_heap.s
_heapadd.s Fixed an identifier (cosmetic change) 2005-01-05 21:04:35 +00:00
_heapblocksize.s
_heapmaxavail.s
_heapmemavail.s
_hextab.c Remove #pragmas to switch to the RODATA segment since the compiler will do 2000-08-03 10:45:31 +00:00
_oserror.s
_poserror.c
_printf.h The _printf routine does not return anything. 2009-09-26 19:20:51 +00:00
_printf.s Removed an unused import. 2009-02-10 22:08:43 +00:00
_scanf.c Changed names of the pragmas to be identical to the corresponding command line 2009-10-14 12:55:15 +00:00
_scanf.h
_scanf.inc
_seterrno.s
_swap.s
_sys.s
abort.c
abs.s
asctime.c
atexit.s
atoi.s Shrink atoi by using negeax instead of inlined code. 2009-09-15 21:25:44 +00:00
bsearch.c
calloc.s
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_umul16x16r32.s Working on the division and multiplication routines. 2009-11-04 19:41:54 +00:00
chdir.s
copydata.s
creat.s
ctime.s
divt.s
errno.s
errormsg.c Added messages for EBADF (new) and EUNKNOWN (missing). 2010-06-03 21:16:07 +00:00
fclose.s
fdopen.c Use _seterrno to make the code shorter. 2010-06-03 20:18:43 +00:00
fgetc.c Don't include errno.h since it is not needed. 2010-06-03 20:20:01 +00:00
fgetpos.c
fgets.c Call _seterrno instead of assigning to _errno to make the code shorter. 2010-06-03 20:21:23 +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
fprintf.s
fputc.c
fputs.c
fread.s Fixed a comment regarding errno/oserror. 2010-06-03 20:26:33 +00:00
free.s
freopen.c Call _seterror instead of assigning to _errno to make the code somewhat 2010-06-03 20:27:59 +00:00
fscanf.s
fseek.c Rewrote the code to make it somewhat shorter. 2010-06-03 20:43:30 +00:00
fsetpos.c
ftell.c Use _seterrno instead of assigning to _errno to make the code shorter. 2010-06-03 20:46:08 +00:00
fwrite.s
getchar.c
getcpu.s
getcwd.s
getenv.s
gets.c
gmtime.c
isalnum.s
isalpha.s
isblank.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
iscntrl.s
isdigit.s
isgraph.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
islower.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
isprint.s Use constants for the bits in the _ctype array. 2001-09-08 14:00:41 +00:00
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
Makefile Added --forget-inc-paths to the assembler command line to avoid problems if 2009-12-18 11:58:50 +00:00
malloc.s
maperrno.s Renamed setoserror to seterrnofromoserror to avoid clashes. 2008-04-15 06:55:35 +00:00
memchr.s
memcmp.s Rewrote memcmp. The old version was buggy, the new one is faster and 2000-09-15 17:23:19 +00:00
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 Improved memset/memcpy/memmove functions by Christian Krueger. 2009-09-20 14:32:25 +00:00
mkdir.s
mktime.c
modfree.s
modload.s
oserrcheck.s
perror.c
pmemalign.c
printf.s
putchar.s
putenv.s
puts.c
qsort.c
raise.s
rand.s Change initial seed to 1 2002-11-05 13:19:43 +00:00
realloc.c
remove.s
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
scanf.s
searchenv.s
setjmp.s
signal.s
sigtable.s
sleep.c
snprintf.s Added an untested implementation of snprintf. 2009-09-27 12:11:05 +00:00
sprintf.s
sscanf.s
strcat.s
strchr.s
strcmp.s
strcoll.s
strcpy.s
strcspn.s
strdup.s
strerror.s
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 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
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
strtol.c Added an implementation of strtol (stdlib.h). 2009-09-15 20:56:08 +00:00
strtoul.c Added a (currently untested) strtoul implementation. strtol and strtoul should 2009-09-15 21:45:25 +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 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 Make system() fastcall like most other library functions. 2009-09-15 21:01:20 +00:00
time.s
timezone.c
tolower.s
toupper.s
uname.s New uname function 2003-08-12 14:24:34 +00:00
ungetc.s
unlink.s
utscopy.s Use structs 2003-12-03 20:23:09 +00:00
vfprintf.s
vfscanf.s
vprintf.s
vscanf.s
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
zerobss.s