]>
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>
36 #ifdef HAVE_SYS_PARAM_H
37 # include <sys/param.h>
45 * we should be getting this value from pathconf(_PC_PATH_MAX)
49 # define PATH_MAX MAXPATHLEN
51 /* so we will just pick something */
52 # define PATH_MAX 1024
57 * we should get this value from sysconf(_SC_NGROUPS_MAX)
61 # define NGROUPS_MAX NGROUPS
63 # define NGROUPS_MAX 16
68 * we should be getting this value from sysconf(_SC_OPEN_MAX)
72 # define OPEN_MAX NOFILE
74 /* so we will just pick something */
80 ssize_t
getline(char **lineptr
, size_t *n
, FILE *stream
);
84 * Defaults for programs if they aren't configured in a user's profile
87 #define DEFAULT_PAGER "more"
88 #define DEFAULT_EDITOR "vi"