GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_copy_file (const char *infile, const char *outfile) |
Copies one file to another. More... | |
int G_copy_file | ( | const char * | infile, |
const char * | outfile | ||
) |
Copies one file to another.
Creates a copy of a file. The destination file will be overwritten if it already exists, so the calling module should check this first if it is important.
infile | String containing path to source file |
outfile | String containing path to destination file |
Definition at line 34 of file copy_file.c.
References errno, fclose(), G_warning(), NULL, and outfp.