minix/include/sys/param.h
2010-08-21 13:10:41 +00:00

19 lines
434 B
C

/*
sys/param.h
*/
#ifndef __SYS_PARAM_H__
#define __SYS_PARAM_H__
#include <limits.h>
#include <minix/limits.h>
#define MAXHOSTNAMELEN 256 /* max hostname size */
#define NGROUPS 8 /* max number of supplementary groups */
#define MAXPATHLEN __MINIX_PATH_MAX
/* Macros for min/max. */
#define MIN(a,b) ((/*CONSTCOND*/(a)<(b))?(a):(b))
#define MAX(a,b) ((/*CONSTCOND*/(a)>(b))?(a):(b))
#endif /* __SYS_PARAM_H__ */