home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ENTERPRS / CPM / UTILS / S / SMC21LIB.LZH / PAD.C < prev    next >
Text File  |  2000-06-30  |  256b  |  16 lines

  1.  
  2. #define NOCCARGC
  3. /*
  4. ** Place n occurences of ch at dest.
  5. */
  6. pad(dest, ch, n) char *dest, *n; int ch; {
  7.   /*n is a fake unsigned integer*/
  8.   while(n--) *dest++ = ch;
  9.   }
  10.  
  11.  
  12.  
  13.  d, t; d=0;
  14.   *nbr=0;
  15.   while((*octstr>'0')&(*octstr<='7')) {
  16.     t