Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/compat/win32/dirent.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / compat / win32 / dirent.h` 20 lines ยท 427 bytes Raw Blame History 1 #ifndef DIRENT_H 2 #define DIRENT_H 3 4 typedef struct DIR DIR; 5 6 #define DT_UNKNOWN 0 7 #define DT_DIR 1 8 #define DT_REG 2 9 #define DT_LNK 3 10 11 struct dirent { 12 unsigned char d_type; /* file type to prevent lstat after readdir */ 13 char d_name[MAX_PATH * 3]; /* file name (* 3 for UTF-8 conversion) */ 14 }; 15 16 DIR *opendir(const char *dirname); 17 struct dirent *readdir(DIR *dir); 18 int closedir(DIR *dir); 19 20 #endif /* DIRENT_H */