![]() |
Home |
|
Function vf_initThis function initializes the RTIP-32 internal virtual file system. int vf_init(void); The function returns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Section Error Codes further describes each error. vf_init must be called once after xn_rtip_init if any RTIP-32 add-on requiring file I/O is being used. This includes the FTP Server, TFTP Client and Server, and the Web Server. The virtual file system is implemented using RTTarget-32's installable file system. By default, it uses RTFiles-32, if linked in; if RTFiles-32 is not linked, RTTarget-32's RAM file system is used.
|