/*›  Extra stuff for uudecode on M6502 -- jrd›*/››#include <stdio.h>››extern FILE * in;›extern FILE * out;››#ifdef M6502››int strncmp (str1, str2, nbytes)›char * str1;›char * str2;›int nbytes;›{›  while (--nbytes >= 0 && (*str1 == *str2++))›    if (!*str1++)›      return(0);›  return(nbytes < 0 ? 0 : *str1 - *--str2);›}››Bconout(foo,c)›int foo;›char c;›{›  cputc(c,0);›}››char tmp_path[80];››char * fix_pathname(p)›char * p;›{›  if (strchr(p, ':'))›    return(p);›  else›    {›      strcpy(tmp_path, "D:");›      strcat(tmp_path, p);›      return(tmp_path);›    }›}››careful_exit(x)›int x;›{›  if (out)›    fclose(out);›  if (in)›    fclose(in);›  exit(x);›}›#endif››