]>
diplodocus.org Git - nmh/blob - h/nmh.h
4f5f5e48ce27a105cab0b524838ec146a3c39c02
3 * nmh.h -- system configuration header file
14 /* See etc/gen-ctype-checked.c. */
15 # include <sbr/ctype-checked.h>
22 #define NLENGTH(dirent) strlen((dirent)->d_name)
28 #ifdef HAVE_SYS_PARAM_H
29 # include <sys/param.h>
36 * we should be getting this value from pathconf(_PC_PATH_MAX)
40 # define PATH_MAX MAXPATHLEN
42 /* so we will just pick something */
43 # define PATH_MAX 1024
48 * we should get this value from sysconf(_SC_NGROUPS_MAX)
52 # define NGROUPS_MAX NGROUPS
54 # define NGROUPS_MAX 16
59 * we should be getting this value from sysconf(_SC_OPEN_MAX)
63 # define OPEN_MAX NOFILE
65 /* so we will just pick something */
71 * Defaults for programs if they aren't configured in a user's profile
74 #define DEFAULT_PAGER "more"
75 #define DEFAULT_EDITOR "vi"