home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / lib / util / blt.c < prev    next >
Encoding:
Text File  |  1986-02-01  |  405 b   |  18 lines

  1. #
  2. /*      Copy the given string of the given length to the given          */
  3. /*  destination string.                                                 */
  4. /*                                                                      */
  5.  
  6. char *
  7.     blt (from, to, length)
  8. register char   *from,
  9.         *to;
  10. register int       length;
  11. {
  12.     if(length != 0)
  13.     do {
  14.         *to++ = *from++;
  15.     } while(--length);
  16.     return (to);
  17. }
  18.