esp_vfs_unregister_fd() function
Special function for unregistering a file descriptor belonging to a VFS registered by esp_vfs_register_with_id.
Arguments
vfs_id
VFS identificator returned by esp_vfs_register_with_id.
fd
File descriptor which should be unregistered.
Return value
ESP_OK if the registration is successful, ESP_ERR_INVALID_ARG if the arguments are incorrect.
esp_vfs_unregister_fd() is called by 2 functions and calls 5 functions:
![]()
esp_vfs_unregister_fd()
esp_vfs_unregister_fd() reads 12 variables:
![]()
esp_vfs_unregister_fd()