copy.c

Go to the documentation of this file.
00001 #include "gis.h"
00002 /*
00003  *********************************************************
00004  *
00005  * G_copy (a, b, n)
00006  *
00007  * copies n bytes starting at address b into address a
00008  ********************************************************/
00009 
00010 int G_copy ( void *a,void *b,int n)
00011 {
00012         char *ap,*bp;
00013         ap = a;
00014         bp = b;
00015 
00016     while (n-- > 0)
00017         *ap++ = *bp++;
00018 
00019     return 0;
00020 }

Generated on Sat Jul 22 22:06:14 2006 for GRASS by  doxygen 1.4.7