/* Definitions for the directory(3) routines: */
typedef struct {
- char _fd; /* Filedescriptor of open directory */
+ int _fd; /* Filedescriptor of open directory */
unsigned _count; /* This many bytes in _buf */
unsigned _pos; /* Position in _buf */
char _buf[_MAX_BLOCK_SIZE]; /* The size does not really
#ifndef _MINIX_LIMITS_H
#define _MINIX_LIMITS_H
-#define __MINIX_OPEN_MAX 30 /* a process may have 30 files open */
+#define __MINIX_OPEN_MAX 255 /* a process may have 255 files open */
#define __MINIX_PATH_MAX 255 /* a pathname may contain 255 chars */
#endif /* _MINIX_LIMITS_H */