Annotation of 42BSD/usr.lib/sendmail/src/bmove.c, revision 1.1.1.1

1.1       root        1: # include "useful.h"
                      2: 
                      3: SCCSID(@(#)bmove.c     4.1             7/25/83);
                      4: 
                      5: /*
                      6: **  BMOVE -- block move.
                      7: **
                      8: **     Parameters:
                      9: **             s -- source of bytes.
                     10: **             d -- destination of bytes.
                     11: **             l -- length of block to move.
                     12: **
                     13: **     Returns:
                     14: **             none.
                     15: **
                     16: **     Side Effects:
                     17: **             copies 's' to 'd' for 'l' bytes.
                     18: **
                     19: **     Notes:
                     20: **             This can be easily written in assembly language on
                     21: **             machines like VAXes if performance is needed.
                     22: */
                     23: 
                     24: /*VARARGS0*/
                     25: bmove(s, d, l)
                     26:        register char *s, *d;
                     27:        register int l;
                     28: {
                     29:        while (l-- > 0)
                     30:                *d++ = *s++;
                     31: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.