unsigned char close (FCB *fcb);

Close a file after writing.

fcb =Pointer to file control block.
Return:0 - OK. 1 - Close failed.

Include file: diskio.h