Figure 1 Comparison Of Runtime Library Functions

MSC Library   CodeRunneR          Compatibility comments
 function     equivalent
-------------------------------------------------------------------

  _aNlmul      *none*     MSC 5.1 intrinsic multiply long int
  _aNldiv      *none*     MSC 5.1 intrinsic divide long int
  _ctype       *none*     Wrote my own macro for  is_digit()
  _strtime     *none*     Wrote my own function with CRR dos_time()
  atoi         dec2w      Use two arguments instead of one
  close        fclose     File handle only, not stream I/O
  fgets        *none*     Wrote my own replacement function
  filelength   *none*     Replaced with modified lseek() call
  fstat        *none*     Decided I could live without it
  getch        pckey      Must mask off scancode in high byte
  int86        intn       Substituted other CRR functions for these
  kbhit        anykey     Direct replacement
  lseek        fpos       Direct replacement
  memset       filchr     Direct replacement
  printf       _printf    Doesn't support floats
  read         fread      File handle only, not stream I/O
  sopen        *none*     Wrote my own with INT 21h, function 3Dh
  sprintf      _sprintf   Doesn't support floats
  strtok       *none*     Wrote my own function