Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

memcopy.h File Reference

#include <sys/types.h>

Include dependency graph for memcopy.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void * memcopy (void *dst, const void *src, size_t count)
void bcopy (const void *src0, void *dst0, int length)


Function Documentation

void bcopy const void *  src0,
void *  dst0,
int  length
 

Definition at line 65 of file memcopy.c.

00065                                                     {
00066   memcopy(dst0,src0, length);
00067 }

void* memcopy void *  dst,
const void *  src,
size_t  count
 

Definition at line 54 of file memcopy.c.

Referenced by bcopy(), and dns_client_callback().

00054                                                         {
00055   register char *d=dst;
00056   register const char *s=src;
00057   ++count;      /* this actually produces better code than using count-- */
00058   while (--count) {
00059     *d = *s;
00060     ++d; ++s;
00061   }
00062   return dst;
00063 }


Generated on Wed Jan 14 12:59:06 2004 for RTL-lwIP-0.4 by doxygen 1.3.4