3 * nmh.h -- system configuration header file
14 #define NLENGTH(dirent) strlen((dirent)->d_name)
20 #ifdef HAVE_SYS_PARAM_H
21 # include <sys/param.h>
28 * symbolic constants for lseek and fseek
41 * we should be getting this value from pathconf(_PC_PATH_MAX)
45 # define PATH_MAX MAXPATHLEN
47 /* so we will just pick something */
48 # define PATH_MAX 1024
53 * we should get this value from sysconf(_SC_NGROUPS_MAX)
57 # define NGROUPS_MAX NGROUPS
59 # define NGROUPS_MAX 16
64 * we should be getting this value from sysconf(_SC_OPEN_MAX)
68 # define OPEN_MAX NOFILE
70 /* so we will just pick something */
77 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
78 #define bcopy(b1,b2,length) memcpy (b2, b1, length)
79 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
80 #define bzero(b,length) memset (b, 0, length)
83 * If your stat macros are broken,
84 * we will just undefine them.
86 #ifdef STAT_MACROS_BROKEN
117 #endif /* STAT_MACROS_BROKEN. */