Commit Graph

  • 27fc6836cc Fix div() and ldiv() to return properly-signed remainders. Stephen Heumann 2018-09-10 17:09:28 -05:00
  • efab82784d Add _Exit() function from C99. Stephen Heumann 2018-09-09 23:23:19 -05:00
  • 24ec2ae9bc Fix perror() issues. Stephen Heumann 2018-09-09 21:43:14 -05:00
  • 2be73c4e5d Make strerror() return a valid error string for unknown errno values. Stephen Heumann 2018-09-09 21:26:21 -05:00
  • 2d20af84fd Fix support for 'h' length modifier in scanf. Stephen Heumann 2018-09-09 20:55:23 -05:00
  • 57e8a686f8 Merge pull request #29 from ksherlock/assert_ph2 MikeW50 2018-06-29 08:08:15 -06:00
  • d600cd0b61 assert - use updated ph2/ph4 macros that support pei dp vs lda dp / pha. Kelvin Sherlock 2018-06-27 23:36:02 -04:00
  • a11660f597 Implement support for 'hh' length modifier in *scanf. Stephen Heumann 2018-03-22 22:10:56 -05:00
  • 5ee6e87f44 Implement support for 'hh' length modifier in *printf. Stephen Heumann 2018-03-22 21:13:09 -05:00
  • 6a2e3c1abd fix typos and misleading commentary. Kelvin Sherlock 2018-03-21 23:05:46 -04:00
  • 6e97906678 Make strtol/strtoul return LONG_MIN/LONG_MAX/ULONG_MAX for out-of-range values. Stephen Heumann 2018-03-13 22:11:40 -05:00
  • 7abdfc9beb Make system(NULL) detect whether a command processor is available. Stephen Heumann 2018-03-13 17:49:49 -05:00
  • 21d34a30ce mktime: tm_yday should be indexed from 0 for January 1st, not 1. Stephen Heumann 2018-03-09 17:38:14 -06:00
  • a77e44d7b5 Fix asctime() to properly print years 1000 through 9999. Stephen Heumann 2018-03-09 13:10:53 -06:00
  • 73f04eaab4 Add snprintf() and vsnprintf() functions (C99). Stephen Heumann 2018-03-05 18:52:43 -06:00
  • 8562842f66 sprintf/vsprintf should write a terminating null character even if the string produced is empty. Stephen Heumann 2018-03-05 18:02:36 -06:00
  • 6006cefc70 add the c99 isblank() function Kelvin Sherlock 2018-03-04 22:28:30 -05:00
  • 8533ea221c When argc==0, argv should be a valid pointer and argv[0] should be NULL. Stephen Heumann 2018-02-27 23:56:14 -06:00
  • 33ab148cea Merge commit 'd95f9f29d27d02d8c57bd23620f41afbf7607ac5' Stephen Heumann 2018-02-27 23:01:51 -06:00
  • 62f6b712e7 Add support for 'F', 'a', and 'A' conversion specifiers for scanf (C99). Stephen Heumann 2018-02-27 21:39:49 -06:00
  • a6d7d91f37 Add initial support for 'F', 'a', and 'A' conversion specifiers for printf (C99). Stephen Heumann 2018-02-27 21:29:22 -06:00
  • f58ef8aea3 Add support for 'z', 't', and 'j' length modifiers in printf and scanf (C99). Stephen Heumann 2018-02-27 18:44:07 -06:00
  • e3c0c962d4 Revert various stdio changes to make it match the version in the ORCA/C 2.1.1 B3 ORCALib binary on Opus ][. Stephen Heumann 2018-02-26 20:03:14 -06:00
  • d95f9f29d2 during initial count of arguments on the command-line, use the same logic as the second count when the argv vector is built. Kelvin Sherlock 2018-02-24 22:40:01 -05:00
  • 89acbf2ced Merge pull request #2 from ksherlock/toupper Stephen Heumann 2017-11-01 18:10:48 -05:00
  • 56b101a214 Change keep location for stdio to be in the obj directory. Stephen Heumann 2017-10-31 23:09:27 -05:00
  • 9d116eae35 Rename isctrl() function to correct standard name of iscntrl(). Stephen Heumann 2017-10-31 22:52:12 -05:00
  • 649aef5b0f Change sys_nerr from 6 to 12, to reflect actual number of error messages. Stephen Heumann 2017-10-31 22:50:22 -05:00
  • 6ebb56af57 fix tolower/toupper to work with EOF/-1 Kelvin Sherlock 2017-10-31 13:18:36 -04:00
  • e4a8afe476 Merge pull request #1 from ksherlock/crlf Stephen Heumann 2017-10-31 19:24:09 -05:00
  • 578bda8439 CR -> LF Kelvin Sherlock 2017-10-31 13:14:07 -04:00
  • 954c3a02b5 ORCA libraries, from the Opus ][ CD mikew50 2017-10-01 18:00:58 -06:00