minix/include/sys/param.h

23 lines
519 B
C
Raw Normal View History

/*
sys/param.h
*/
2010-02-04 17:52:54 +01:00
#ifndef __SYS_PARAM_H__
#define __SYS_PARAM_H__
#include <limits.h>
#include <minix/limits.h>
2010-02-04 17:52:54 +01:00
#define MAXHOSTNAMELEN 256 /* max hostname size */
#define NGROUPS 8 /* max number of supplementary groups */
#define MAXPATHLEN __MINIX_PATH_MAX
2011-07-30 08:03:23 +02:00
#define MAXCOMLEN 16 /* max command length */
2010-11-23 12:05:09 +01:00
#include <machine/param.h>
/* 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__ */