The pf_opendir function opens a directory.
FRESULT pf_opendir ( DIR* dp, /* [OUT] Pointer to the blank directory object structure */ const char* path /* [IN] Pointer to the directory name */ );
The pf_opendir() function opens an exsisting directory and creates the directory object for subsequent calls. The directory object structure can be discarded at any time without any procedure.
Available when _USE_DIR == 1.