3 * nmh.h -- system configuration header file
16 #define NLENGTH(dirent) strlen((dirent)->d_name)
22 #ifdef HAVE_SYS_PARAM_H
23 # include <sys/param.h>
30 * we should be getting this value from pathconf(_PC_PATH_MAX)
34 # define PATH_MAX MAXPATHLEN
36 /* so we will just pick something */
37 # define PATH_MAX 1024
42 * we should get this value from sysconf(_SC_NGROUPS_MAX)
46 # define NGROUPS_MAX NGROUPS
48 # define NGROUPS_MAX 16
53 * we should be getting this value from sysconf(_SC_OPEN_MAX)
57 # define OPEN_MAX NOFILE
59 /* so we will just pick something */
66 #define bcmp(b1,b2,length) memcmp(b1, b2, length)
67 #define bcopy(b1,b2,length) memcpy (b2, b1, length)
68 #define bcpy(b1,b2,length) memcmp (b1, b2, length)
69 #define bzero(b,length) memset (b, 0, length)