xref: /haiku/headers/posix/sys/param.h (revision 3155eae222d119aa730971cebdfad8575838eb44)
1 #ifndef _SYS_PARAM_H
2 #define _SYS_PARAM_H
3 /*
4 ** Distributed under the terms of the OpenBeOS License.
5 */
6 
7 #include <limits.h>
8 
9 #define MAXPATHLEN      PATH_MAX
10 #define MAXSYMLINKS		SYMLINKS_MAX
11 
12 #define NOFILE          OPEN_MAX
13 
14 #define MIN(a,b) (((a) < (b)) ? (a) : (b))
15 #define MAX(a,b) (((a) > (b)) ? (a) : (b))
16 
17 /* maximum possible length of this machine's hostname */
18 #define MAXHOSTNAMELEN 256
19 
20 #endif	/* _SYS_PARAM_H */
21