std1.0.0-beta-7 SafeC docs

std :: dir

Struct std::DirEntry

#include <std/dir.h> source

struct DirEntry {
    struct String name;
    int kind;
}

Fields

§struct String namesource

the entry's own name (no directory part)

§int kindsource

DIR_FILE / DIR_DIR / DIR_LINK / DIR_OTHER

Methods

§static struct DirEntry new()source · definition
§void drop()source · definition
§void free() consumesource · definition

= drop()