Add support for opening directories with open()
commit0e75d1b67571613a4b80d8c674b2addda702a850
authorm <m@bitsnbites.eu>
Thu, 24 Nov 2022 20:24:29 +0000 (24 21:24 +0100)
committerm <m@bitsnbites.eu>
Sat, 26 Nov 2022 16:44:07 +0000 (26 17:44 +0100)
tree8b945fecf8fd6bda942f3339d66e2af937152cb0
parent6e215a6946e209e98aade99d9151919dc4b31726
Add support for opening directories with open()

Introduce mfat_file_t::type to keep track of the file type, and add
special handling for opening the root directory.
mfat.c
mfat.h