oyama / pico-vfs

Thin virtual file system for Raspberry Pi Pico
Other
5 stars 0 forks source link

Do not issue file descriptor from 0 #13

Closed oyama closed 1 month ago

oyama commented 1 month ago

The current implementation issues file descriptors from 0. This conflicts with normal OS STDIN_FILENO and may have unintended consequences for the user. It would be sane to issue file descriptors from 3 and return an error for 0-2 requests.