Initial revision
authorroland <roland>
Mon, 3 May 1993 23:34:07 +0000 (23:34 +0000)
committerroland <roland>
Mon, 3 May 1993 23:34:07 +0000 (23:34 +0000)
sysdeps/unix/sysv/direct.h [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/direct.h b/sysdeps/unix/sysv/direct.h
new file mode 100644 (file)
index 0000000..d340970
--- /dev/null
@@ -0,0 +1,8 @@
+struct direct
+  {
+    unsigned short int d_fileno;
+    char d_name[14];
+  };
+
+#define D_NAMLEN(d) \
+  ((d)->d_name[13] == '\0' ? strlen ((d)->d_name) : 14)