]>
diplodocus.org Git - nmh/blob - h/nmh.h
3 * nmh.h -- system configuration header file
14 /* See etc/gen-ctype-checked.c. */
15 # include <sbr/ctype-checked.h>
20 #define NLENGTH(dirent) strlen((dirent)->d_name)
26 #ifdef HAVE_SYS_PARAM_H
27 # include <sys/param.h>
34 * we should be getting this value from pathconf(_PC_PATH_MAX)
38 # define PATH_MAX MAXPATHLEN
40 /* so we will just pick something */
41 # define PATH_MAX 1024
46 * we should get this value from sysconf(_SC_NGROUPS_MAX)
50 # define NGROUPS_MAX NGROUPS
52 # define NGROUPS_MAX 16
57 * we should be getting this value from sysconf(_SC_OPEN_MAX)
61 # define OPEN_MAX NOFILE
63 /* so we will just pick something */
69 * Defaults for programs if they aren't configured in a user's profile
72 #define DEFAULT_PAGER "more"
73 #define DEFAULT_EDITOR "vi"