Function esp_idf_sys::esp_vfs_unregister_fd
source ยท pub unsafe extern "C" fn esp_vfs_unregister_fd(
vfs_id: esp_vfs_id_t,
fd: c_int,
) -> esp_err_t
Expand description
Special function for unregistering a file descriptor belonging to a VFS registered by esp_vfs_register_with_id.
@param vfs_id VFS identificator returned by esp_vfs_register_with_id. @param fd File descriptor which should be unregistered.
@return ESP_OK if the registration is successful, ESP_ERR_INVALID_ARG if the arguments are incorrect.