haiku/headers/posix/sys/param.h
beveloper 9fc7164698 allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00

27 lines
501 B
C

#ifndef _SYS_PARAM_H
#define _SYS_PARAM_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <limits.h>
#define MAXPATHLEN PATH_MAX
#define MAXSYMLINKS SYMLINKS_MAX
#define NOFILE OPEN_MAX
#ifndef MIN
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef MAX
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#endif
/* maximum possible length of this machine's hostname */
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 256
#endif
#endif /* _SYS_PARAM_H */