Skip to content

dirent structure d_type #57

@GoogleCodeExporter

Description

@GoogleCodeExporter
In my SDL app I needed a way to enumerate files in a directory.
First surprise was that there is no cross-platform way to do it: we have 
findfirst/findnext under Windows and opendir/readdir/closedir in POSIX.

OK, so I use opendir/readdir/closedir for POSIX and Dingoo.
BUT, I found that struct dirent in dingoo_sdk has no field d_type. So I has no 
idea is the entry a directory or a regular file.

Please, implement the field.

Original issue reported on code.google.com by nzeemin on 17 Nov 2010 at 5:19

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions