BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / commit / 11f4683b13d097219efe4887820b96d54ffee02c / include / dirent.h

// Related

OrionLibC

Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)
diff --git a/include/dirent.h b/include/dirent.h
index abdad04..d5ddba7 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -17,10 +17,10 @@ enum DirType {
 
 /* Structure for a Directory Entry */
 typedef struct dirent {
-	ino_t ino;
-	enum DirType type;
-	size_t namelen;
-	char name[];
+	ino_t d_ino;
+	enum DirType d_type;
+	size_t d_namelen;
+	char d_name[];
 } DirEnt;
 
 #ifdef __cplusplus