Final Year Project: Using Linux Filesystems Under Windows   Chris Bryden BEng. Electronics and Software Engineering    School of Computer Science   University of Birmingham 76 BLK_LIST_ERR 2 OPEN_FILE_ERR 3 FILE_EXISTS 4 PATH_NOT_FOUND 5 On successful return, the average transfer speed of the file is stored in the location pointed to by Spd.   An example of the implementation of the function is shown below:   void CopyFile( char sSrcPath[MAX_PATH_LEN], char sDestPath[MAX_PATH_LEN]) { unsigned short err; double Spd; err = ext2_cp(sSrcPath, sDestPath, FALSE, &Spd); switch(err) { case FILE_EXISTS: /*DESTINATION FILE ALREADY EXISTS* PROMPT USER FOR OVERWRITE? IF ‘Y’ CALL EXT2_CP WITH THE FOWRITE FLAG SET TO TRUE*/ break; case PATH_NOT_FOUND: /*PATH NOT FOUND ERROR HANDLING*/ break; case 0: /*FILE COPIED SUCCESSFULLY*/ break; default: /*AN ERROR OCCURRED*/ break; } return; }