KwikNet Virtual File System
K
DAK
259
kvf_close kvf_close
Purpose Close a Virtual File
Used by
n Task o ISP o Timer Procedure o Restart Procedure n Exit Procedure
Setup Prototype is in file KN_FILES.H.
#include "KN_LIB.H"
#include "KN_FILES.H"
int kvf_close(KN_VFILE *vfd);
Description Vfd is a virtual file descriptor identifying the virtual file to be closed.
Returns If successful, a value of 0 is returned and the file is closed.
On failure, a value of -1 is returned.
Note If the parameter vfd does not reference a currently open virtual file, the
request is passed on via the KwikNet Universal File System Interface to the
underlying real file system, if one exists. In such a case, the return value
will be dictated by the equivalent fclose() function.
See Also kvf_open()
Comments to this Manuals