Function esp_idf_hal::sys::esp_vfs_unregister_fd
source ยท pub unsafe extern "C" fn esp_vfs_unregister_fd(
vfs_id: i32,
fd: i32,
) -> i32
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.