struct _fl_direct _v7f[FLEX_PER_V7]; /* V7 entry transformed to flex */
} DIR;
+#define _DIRENT_NAME_LEN 61
+
struct dirent { /* Largest entry (8 slots) */
ino_t d_ino; /* I-node number */
unsigned char d_extent; /* Extended with this many slots */
- char d_name[61]; /* Null terminated name */
+ char d_name[_DIRENT_NAME_LEN]; /* Null terminated name */
};
/* Function Prototypes. */
* used. Other addresses may be defined below when new features are added.
*/
-/* Parallel ports (LPT1-LPT4). */
+/* Serial ports (COM1-COM4). */
#define COM1_IO_PORT_ADDR 0x400 /* COM1 port address */
#define COM1_IO_PORT_SIZE 2L
#define COM2_IO_PORT_ADDR 0x402 /* COM2 port address */
#define COM4_IO_PORT_ADDR 0x406 /* COM4 port address */
#define COM4_IO_PORT_SIZE 2L
-/* Serial ports (COM1-COM4). */
+/* Parallel ports (LPT1-LPT4). */
#define LPT1_IO_PORT_ADDR 0x408 /* LPT1 port address */
#define LPT1_IO_PORT_SIZE 2L
#define LPT2_IO_PORT_ADDR 0x40A /* LPT2 port address */