altri pezzi di codice da aggiungere
[gapil.git] / listati / dirent.c
diff --git a/listati/dirent.c b/listati/dirent.c
new file mode 100644 (file)
index 0000000..f8e4c25
--- /dev/null
@@ -0,0 +1,7 @@
+struct dirent {
+    ino_t d_ino;                    /* inode number */
+    off_t d_off;                    /* offset to the next dirent */
+    unsigned short int d_reclen;    /* length of this record */
+    unsigned char d_type;           /* type of file */
+    char d_name[256];               /* We must not include limits.h! */
+};