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 * we should be getting this value from pathconf(_PC_PATH_MAX)
32 # define PATH_MAX MAXPATHLEN
34 /* so we will just pick something */
35 # define PATH_MAX 1024
40 * we should get this value from sysconf(_SC_NGROUPS_MAX)
44 # define NGROUPS_MAX NGROUPS
46 # define NGROUPS_MAX 16
51 * we should be getting this value from sysconf(_SC_OPEN_MAX)
55 # define OPEN_MAX NOFILE
57 /* so we will just pick something */
64 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
65 #define bcopy(b1,b2,length) memcpy (b2, b1, length)
66 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
67 #define bzero(b,length) memset (b, 0, length)