/* length is actually (d_reclen \- 2 \-
offsetof(struct linux_dirent, d_name) */
/*
- char pad; // Zero padding byte */
+ char pad; // Zero padding byte
char d_type; // File type (only since Linux 2.6.4;
// offset is (d_reclen \- 1))
*/
Currently,
.\" kernel 2.6.27
.\" The same sentence is in readdir.2
-only some file systems (among them: Btrfs, ext2, etx3, and ext4)
+only some file systems (among them: Btrfs, ext2, ext3, and ext4)
have full support for returning the file type in
.IR d_type .
All applications must properly handle a return of