Sort out problems with POSIX constants.

This commit is contained in:
Kees van Reeuwijk
2010-06-22 10:50:03 +00:00
parent 15210b3e06
commit 3eed5d3bdb
5 changed files with 28 additions and 10 deletions

12
include/minix/limits.h Normal file
View File

@@ -0,0 +1,12 @@
/* The <minix/limits.h> header defines the Minix values for some MINIX
* constants. Both the MINIX constants and the non-posix constants
* refer to these underlying definitions.
*/
#ifndef _MINIX_LIMITS_H
#define _MINIX_LIMITS_H
#define __MINIX_OPEN_MAX 30 /* a process may have 30 files open */
#define __MINIX_PATH_MAX 255 /* a pathname may contain 255 chars */
#endif /* _MINIX_LIMITS_H */