Menu

[0a35e6]: / src / rtlib / win32 / file_copy.c  Maximize  Restore  History

Download this file

12 lines (9 with data), 279 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
/* file copy */
#include "../fb.h"
#include <windows.h>
FBCALL int fb_FileCopy( const char *source, const char *destination )
{
BOOL res;
res = CopyFile( source, destination, FALSE );
return fb_ErrorSetNum( res == FALSE ? FB_RTERROR_ILLEGALFUNCTIONCALL : FB_RTERROR_OK );
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.