Hi, Can you help me write the following function?
* Exports a u_file to linux.
* Need to take care in the order of modifying the data structures
* so that it can be revored consistently.
int u_export(char* u_file, char* linux_file)
write code for exporting a file to linux.
return 1 for success, 0 for failure
check ok to open external file for writing
check userfs file exists
read the data out of ufs and write it into the external file