# 2.11BSD#431 - /usr/src/lib/libc/compat-sys5/memcpy.c

##### Functions

    memcpy            X

       1: /*
       2:  * Copyright (c) 1985 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: /*
       8:  * Sys5 compat routine
       9:  */
      10:
      11: #if defined(LIBC_SCCS) && !defined(lint)
      12: static char sccsid[] = "@(#)memcpy.c	5.2 (Berkeley) 86/03/09";
      13: #endif
      14:
      15: char *
      16: memcpy(t, f, n)
      17:     register char *t, *f;
      18:     register n;
      19: {
      20:     register char *p = t;
      21:
      22:     while (--n >= 0)
      23:         *t++ = *f++;
      24:
      25:     return (p);
      26: }

#### Defined functions

memcpy defined in line 15; used 21 times

- in /usr/include/memory.h line 16
- in /usr/include/string.h line 20
- in /usr/src/games/atc/include.h line 38
- in /usr/src/include/memory.h line 16
- in /usr/src/include/strings.h line 25
- in /usr/src/libexec/tcpd/percent_x.c line 81
- in /usr/src/libexec/tcpd/scaffold.c line 72, 141
- in /usr/src/libexec/tcpd/tcpdmatch.c line 167, 224
- in /usr/src/libexec/tcpd/tli-sequent.c line 134
- in /usr/src/libexec/tcpd/workarounds.c line 232, 238
- in /usr/src/new/PORT/perl.1.0.0/perl.h line 16
- in /usr/src/new/PORT/perl.1.0.10/perl.h line 27
- in /usr/src/new/PORT/perl.1.0.10/x2p/a2p.h line 16
- in /usr/src/new/PORT/perl.1.0.16/perl.h line 27
- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 19
- in /usr/src/new/jove/tune.h line 160
- in /usr/src/new/kermit5.188/ckcnet.c line 95
- in /usr/src/new/kermit5.188/ckufio.c line 1678

#### Defined variables

sccsid defined in line 12; never used

Last modified: 1986-03-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: ?E00 |