GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
copy_dir.c File Reference
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <grass/gis.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
Include dependency graph for copy_dir.c:

Go to the source code of this file.


int G_recursive_copy (const char *src, const char *dst)

Function Documentation

int G_recursive_copy ( const char *  src,
const char *  dst 

Definition at line 63 of file copy_dir.c.

References buf, fd, G_lstat(), G_mkdir(), opendir(), readdir(), sprintf(), and stat.