haiku/headers/posix/sys/param.h
Axel Dörfler eb11b67370 Added a preliminary sys/types.h that just includes ktypes.h for now.
Changed other headers to include sys/types.h rather than ktypes.h.
Added a license reference at the beginning of those files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 11:10:51 +00:00

21 lines
427 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
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
/* maximum possible length of this machine's hostname */
#define MAXHOSTNAMELEN 256
#endif /* _SYS_PARAM_H */