3 * nmh.h -- system configuration header file
15 # define NLENGTH(dirent) strlen((dirent)->d_name)
17 # define dirent direct
18 # define NLENGTH(dirent) (dirent)->d_namlen
20 # include <sys/ndir.h>
34 #ifdef HAVE_SYS_PARAM_H
35 # include <sys/param.h>
42 * symbolic constants for lseek and fseek
55 * we should be getting this value from pathconf(_PC_PATH_MAX)
59 # define PATH_MAX MAXPATHLEN
61 /* so we will just pick something */
62 # define PATH_MAX 1024
67 * we should get this value from sysconf(_SC_NGROUPS_MAX)
71 # define NGROUPS_MAX NGROUPS
73 # define NGROUPS_MAX 16
78 * we should be getting this value from sysconf(_SC_OPEN_MAX)
82 # define OPEN_MAX NOFILE
84 /* so we will just pick something */
91 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
92 #define bcopy(b1,b2,length) memcpy (b2, b1, length)
93 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
94 #define bzero(b,length) memset (b, 0, length)
97 * If your stat macros are broken,
98 * we will just undefine them.
100 #ifdef STAT_MACROS_BROKEN
131 #endif /* STAT_MACROS_BROKEN. */